Skip to content
This repository has been archived by the owner on Jul 25, 2020. It is now read-only.

Dojo.Number.format expects the value to be a number not a string #19

Closed
ca0v opened this issue Jan 10, 2014 · 1 comment
Closed

Dojo.Number.format expects the value to be a number not a string #19

ca0v opened this issue Jan 10, 2014 · 1 comment
Labels

Comments

@ca0v
Copy link

ca0v commented Jan 10, 2014

interface Number
{
format(value: number, options?: {

From number.js:

number.format = function(/Number/ value, /number.__FormatOptions?/ options){

if(isNaN(value) || Math.abs(value) == Infinity){ return null; } // null

@schungx
Copy link
Owner

schungx commented Jan 11, 2014

Good catch. I've fixed it.

@schungx schungx closed this as completed Jan 11, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants