Hi all, I am using qx.util.format.NumberFormat for my application.
qx.util.format.NumberFormat.format(number) is working only 3 digits numbers,
If i pass 10000 as an argument, it throws the following error:192478
qx.io.remote.RequestQueue[150-0]: Request qx.io.remote.Request[4058-0]
handler _oncompleted threw an error: TypeError: Object # has no method
'indexOf' *qx.locale.Manager:256:24, qx.locale.Manager:403:29,
qx.locale.Manager:371:19, qx.locale.Number:53:46,
qx.util.format.NumberFormat:209:46,* qx.Interface:457:31,
sumo.Application:831:64), :57:38, sumo.Application:989:13,
qx.io.remote.Rpc:579:13, qx.io.remote.Rpc:770:42 *Here is the code I
have used to format:*alert(typeof(amount)); // ===> to verify the input ,
which gives "number" as a type.formatter = new
qx.util.format.NumberFormat({maximumFractionDigits:2, minimumFractionDigits:
2, });amount = formatter.format(amount); Is this is a bug ? Or am i doing
wrong?I am using qooxdoo 2.1.1
--
View this message in context:
http://qooxdoo.678.n2.nabble.com/qx-util-format-NumberFormat-does-not-work-for-more-then-3-digit-numbers-tp7583192.html
Sent from the qooxdoo mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel