renamed attribute "places" --> "fractionDigits"
add default width to 100%
add programmatic case.