I'm new at community and I'm starting with Mathematica. I'm now having a trouble with a very simple problem which for many of you might be really obvious.
In documentation N suppose to give me a precision of the second parameter:
lfToMoneyValue[number_Real] := Module [{r},
r = N[number, 2];
r
]
I wish i have an "Out: 5.14" so i could afterward join 'R$' since it suppose to be in 'Reais' money currency
Could anyone help me? thank you alot
NumberForm[...,{Infinity,2}]. See alsoAccountingForm. – Daniel Lichtblau Oct 21 '14 at 14:25lfToMoneyValue[number_Real] := ToString@Round[number, 0.01] <> " R$"– eldo Oct 21 '14 at 14:27