Hi there,

I've just bumped into 
https://groovy-lang.org/syntax.html#_number_type_suffixes, namely, to

BigDecimal

G or g


which seems rather pointless to me. When one enters a decimal number (e.g., 
1.0), it's a BD anyway, suffix or not. On the other hand, there seems to be no 
suffix which would allow to write e.g., just 1s (s for something) creating a 1 
BD, which would make some sense, like e.g., 1f for float does.

What do I overlook? What's the point of the BD g/G suffix, and why there's no 
suffix which would work without a decimal point (or exponent)?

Thanks,
OC

Reply via email to