Std.Decimal.scale
1 declaration
fn
scale: Decimal -> IntThis is a callable function.
What it does
How many fractional digits a value carries.
This is the one place a trailing zero is visible: scale(1.50d) is 2 and
scale(1.5d) is 1, even though the two compare equal.
Read the signature
- The text after the name is the type checked by Pudu.
- Read arrows from left to right: inputs come first, and the final type is returned.
