Skip to content
Snippets Groups Projects
user avatar
Serge Petrenko authored
Use printf "%g" option instead of "%f" to trim traling zeros in such
cases:
decimal_from_double(1) -> '1.000000000000000' -> decimal_from_string()
Now it should be
decimal_from_double(1) -> '1' ->decimal_from_string()

Follow-up 6d62c6c1
f64481de
History
Name Last commit Last update