a.binder 9 năm trước cách đây
mục cha
commit
eed57010b8
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      SE/dev/php-cli/edge_paths_with_PE_controll.xsl

+ 2 - 2
SE/dev/php-cli/edge_paths_with_PE_controll.xsl

@@ -515,12 +515,12 @@
                                         <xsl:variable name="bit_max_Pos">
                                             <xsl:choose>
                                                 <xsl:when test="number(@len_sum) &gt; ( number($PE_Price) div number($Cable_Price) ) and number($bit_max_Pos) &lt; 2">
-                                                    <xsl:value-of select=" round( number(@len_sum)) div ( number($PE_Price) div number($Cable_Price) ) + 2 "/> <!-- jak droga dluzsza od jedn kosztu, to przynajmniej tyle bin_max ile takich odcinkow-->
+                                                    <xsl:value-of select=" round( (number(@len_sum)) div ( number($PE_Price) div number($Cable_Price) ) + 2 )"/> <!-- jak droga dluzsza od jedn kosztu, to przynajmniej tyle bin_max ile takich odcinkow-->
                                                 </xsl:when>
                                                 <xsl:when test="number($bit_max_Pos) &lt; 2">
                                                     <xsl:value-of select="2"/>
                                                 </xsl:when>
-                                                <xsl:otherwise><xsl:value-of select="$bit_max_Pos"/></xsl:otherwise>
+                                                <xsl:otherwise><xsl:value-of select="round(number($bit_max_Pos))"/></xsl:otherwise>
                                             </xsl:choose>
                                         </xsl:variable>