Round argument to a specific precision.
D language types specify a minimum precision, not a maximum. The toPrec() function forces rounding of the argument f to the precision of the specified floating point type T.
precision type to round to
value to convert
f in precision of type T
Round argument to a specific precision.
D language types specify a minimum precision, not a maximum. The toPrec() function forces rounding of the argument f to the precision of the specified floating point type T.