diff options
author | Sunil Shetye | 2025-05-16 23:12:21 +0530 |
---|---|---|
committer | Sunil Shetye | 2025-05-16 23:12:21 +0530 |
commit | ad2fb7670931268b7f64b748df588a05c5c03ee5 (patch) | |
tree | 947d0a123607dfe1e434296a30a21d2f88f3ab2b | |
parent | 3bb3b58272c3c20a5845ea815613779122dc0626 (diff) | |
download | Common-Interface-Project-ad2fb7670931268b7f64b748df588a05c5c03ee5.tar.gz Common-Interface-Project-ad2fb7670931268b7f64b748df588a05c5c03ee5.tar.bz2 Common-Interface-Project-ad2fb7670931268b7f64b748df588a05c5c03ee5.zip |
format the coordinates to one place
-rw-r--r-- | blocks/eda-frontend/public/geometry.xsl | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/blocks/eda-frontend/public/geometry.xsl b/blocks/eda-frontend/public/geometry.xsl index ed741a9d..149c34b2 100644 --- a/blocks/eda-frontend/public/geometry.xsl +++ b/blocks/eda-frontend/public/geometry.xsl @@ -123,7 +123,7 @@ <xsl:value-of select="@x" /> </xsl:when> <xsl:otherwise> - <xsl:value-of select="$newx" /> + <xsl:value-of select="format-number($newx,'0.0')" /> </xsl:otherwise> </xsl:choose> </xsl:attribute> @@ -193,7 +193,7 @@ <xsl:value-of select="@y" /> </xsl:when> <xsl:otherwise> - <xsl:value-of select="$newy" /> + <xsl:value-of select="format-number($newy,'0.0')" /> </xsl:otherwise> </xsl:choose> </xsl:attribute> @@ -273,7 +273,7 @@ <xsl:value-of select="@x" /> </xsl:when> <xsl:otherwise> - <xsl:value-of select="$newx" /> + <xsl:value-of select="format-number($newx,'0.0')" /> </xsl:otherwise> </xsl:choose> </xsl:attribute> @@ -343,7 +343,7 @@ <xsl:value-of select="@y" /> </xsl:when> <xsl:otherwise> - <xsl:value-of select="$newy" /> + <xsl:value-of select="format-number($newy,'0.0')" /> </xsl:otherwise> </xsl:choose> </xsl:attribute> @@ -422,7 +422,7 @@ <xsl:value-of select="@tarx" /> </xsl:when> <xsl:otherwise> - <xsl:value-of select="$newtarx" /> + <xsl:value-of select="format-number($newtarx,'0.0')" /> </xsl:otherwise> </xsl:choose> </xsl:attribute> @@ -488,7 +488,7 @@ <xsl:value-of select="@tary" /> </xsl:when> <xsl:otherwise> - <xsl:value-of select="$newtary" /> + <xsl:value-of select="format-number($newtary,'0.0')" /> </xsl:otherwise> </xsl:choose> </xsl:attribute> @@ -555,7 +555,7 @@ <xsl:value-of select="@tar2x" /> </xsl:when> <xsl:otherwise> - <xsl:value-of select="$newtar2x" /> + <xsl:value-of select="format-number($newtar2x,'0.0')" /> </xsl:otherwise> </xsl:choose> </xsl:attribute> @@ -621,7 +621,7 @@ <xsl:value-of select="@tar2y" /> </xsl:when> <xsl:otherwise> - <xsl:value-of select="$newtar2y" /> + <xsl:value-of select="format-number($newtar2y,'0.0')" /> </xsl:otherwise> </xsl:choose> </xsl:attribute> |