UtilMethods
The UtilMethods
class contains one-liners for formatting double
or long
values to String
. Methods of this class can be used in both Gloop and
Groovy.
Below are some example usages:
1 | assert 14400.1273.format('000000.##').equals('014400.13') |