what is function of decimal_round_up function...can anybody explain with example-----
what is function of floor & ceil function...can anybody explain with example-----
The shell doesn't have decimal arithmetic, but you can use bc or awk or Perl.
perl -le 'print int(shift()+0.9999)' 31.45
there are function called decimal_round_up ,floor & ceil....what are these?
Part of the math library - C language.