Posts by user48410 • 23 points
1 post
-
2
votes1
answer254
viewsQ: Javascript function with Nan error
This function is returning error: Nan, to convert again to text. function floatToMoneyText(value) { var text = (value < 1 ? "0" : " ") + Math.floor(value * 100); text = "R$ " + text; return…