Quantcast
Typesetting math: 100%

Round-to-Dollars and Cents

Last modified by
on
Jul 24, 2020, 6:28:07 PM
Created by
on
Nov 4, 2014, 1:59:02 AM
nnn.nn=round[x,2]nnn.nn=round[x,2]
(x)Input to Round(x)Input to Round
Tags
UUID
25373d50-63c6-11e4-a9fb-bc764e2038f2

The Round-to-Dollars and Cents rounds an input number to two decimal places, rounding up at 5 in the third place and it treats negative numbers as absolute values in rounding.

Examples:

Round-to-Dollars and Cents(2.4445) = 2.44

Round-to-Dollars and Cents(2.5153) = 2.52

Round-to-Dollars and Cents(2.515) = 2.52

Round-to-Dollars and Cents(3.499999999999999) = 3.50

Round-to-Dollars and Cents(-3.57777) = -3.58


  • Comments
  • Attachments
  • Stats
No comments
This site uses cookies to give you the best, most relevant experience. By continuing to browse the site you are agreeing to our use of cookies.