| java.lang.Object org.jpox.util.SQLFormat
SQLFormat | public class SQLFormat (Code) | | Utility class providing SQL formatting methods.
version: $Revision: 1.2 $ |
Method Summary | |
public static String | format(BigDecimal bd) Formats the given BigDecimal value into a SQL floating-point literal.
BigDecimal.toString() is not well suited to this purpose because it never
uses E-notation, which causes some values with large exponents to be
output as long strings with tons of zeroes in them.
Parameters: bd - The number to format. |
format | public static String format(BigDecimal bd)(Code) | | Formats the given BigDecimal value into a SQL floating-point literal.
BigDecimal.toString() is not well suited to this purpose because it never
uses E-notation, which causes some values with large exponents to be
output as long strings with tons of zeroes in them.
Parameters: bd - The number to format. The formatted String. |
|
|