Module uef_num

Function Index

round_number/2 Rounds the number to the specified precision.
round_price/1 Rounds the number to the precision of 2.

Function Details

round_number/2

round_number(Number::number(), Precision::integer()) -> float()

Rounds the number to the specified precision.

round_price/1

round_price(Number::number()) -> float()

Rounds the number to the precision of 2. The same as uef_num:round_number(Number, 2).


Generated by EDoc