formatting numbers for currency display in javascript

fallback-no-image-3448
formatting numbers for currency display in javascript

methods-number.tofixed(x)
description -formats any number for "x" number of trailing decimals. the number is rounded up, and "0"s are used after the decimal point if needed to create the desired decimal length.

Website Link Visit Link Here
Category
Author: CodeCall Programming Forum
Comments

ToolBox
  • August 12, 2008 4:48 am
  • Related Tutorials

    Subscribe to get this amazing EBOOK FREE

    By subscribing to this newsletter you agree to our Privacy Policy

    Skip to content