Skip to content

Commit

Permalink
LDEV-4693 - use same approach as in Lucee 6
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeloffner committed Sep 15, 2023
1 parent 19d77b8 commit 931969f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
4 changes: 1 addition & 3 deletions core/src/main/java/lucee/runtime/op/Caster.java
Original file line number Diff line number Diff line change
Expand Up @@ -2158,9 +2158,7 @@ public static String toString(double d) {
}

public static String toString(BigDecimal bd) {
String str = bd.toString();
if (str.endsWith(".0")) return str.substring(0, str.length() - 2);
return str;
return df.format(bd);
}

public static String toString(Number n) {
Expand Down
2 changes: 1 addition & 1 deletion loader/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<project default="core" basedir="." name="Lucee"
xmlns:resolver="antlib:org.apache.maven.resolver.ant">

<property name="version" value="5.4.3.7-SNAPSHOT"/>
<property name="version" value="5.4.3.8-SNAPSHOT"/>

<taskdef uri="antlib:org.apache.maven.resolver.ant" resource="org/apache/maven/resolver/ant/antlib.xml">
<classpath>
Expand Down
2 changes: 1 addition & 1 deletion loader/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

<groupId>org.lucee</groupId>
<artifactId>lucee</artifactId>
<version>5.4.3.7-SNAPSHOT</version>
<version>5.4.3.8-SNAPSHOT</version>
<packaging>jar</packaging>

<name>Lucee Loader Build</name>
Expand Down

0 comments on commit 931969f

Please sign in to comment.