The ScaledDecimal class represents fixed point decimal data exactly with precisions of up to 31 digits. It also performs the arithmetic on such data when combined with any other numeric type.Instances of ScaledDecimal can be used in normal Smalltalk arithmetic operations. Scaled Decimals are considered to be higher in generality than Integers and Fractions but lower than Floats. For example:The DM application also provides the method asScaledDecimal to the class String. The following illustrates two ways of creating the same ScaledDecimal:
![]() |