--
You received this message because you are subscribed to the Google Groups "vert.x" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vertx+un...@googlegroups.com.
Visit this group at http://groups.google.com/group/vertx.
To view this discussion on the web, visit https://groups.google.com/d/msgid/vertx/77395e29-37f6-4557-8287-a91d0759f960%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Since we deal with money in our application, we specifically use BigDecimal as it is the only class that you can best rely on for money applications, and also the only class that the Gaming License Labs will approve. Meaning, unless you use BigDecimal, you ain't able to put it in a gambling machine in Las Vegas.But Buffer doesn't support that type and throws an exception when it tries to wrap/unwrap it.
To view this discussion on the web, visit https://groups.google.com/d/msgid/vertx/b3d57251-04ce-4d0f-a626-86548880828d%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "vert.x" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vertx+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/vertx.
To view this discussion on the web, visit https://groups.google.com/d/msgid/vertx/8d6749da-aabd-4d7b-a79e-8585c6df5283%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to vertx+un...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/vertx/CAAn-prVXoVytp3P6TaiSnjuGO-BH%3DheaX6Yd_mV%2BXU9rE_RiiQ%40mail.gmail.com.
To unsubscribe from this group and stop receiving emails from it, send an email to vertx+un...@googlegroups.com.
Visit this group at https://groups.google.com/group/vertx.
To view this discussion on the web, visit https://groups.google.com/d/msgid/vertx/8d6749da-aabd-4d7b-a79e-8585c6df5283%40googlegroups.com.
--Jochen Mader | Principal IT Consultantcodecentric AG | Elsenheimerstr. 55a | 80687 München | Deutschland
tel: +49 89 215486633 | fax: +49 89 215486699 | mobil: +49 152 51862390
www.codecentric.de | blog.codecentric.de | www.meettheexperts.de
Sitz der Gesellschaft: Düsseldorf | HRB 63043 | Amtsgericht Düsseldorf
Vorstand: Michael Hochgürtel . Rainer Vehns
Aufsichtsrat: Patric Fedlmeier (Vorsitzender) . Klaus Jäger . Jürgen Schütz
I'd suggest you grab a drink and chill out a little.Paulo gave a pretty valid reasoning that goes way beyond "igorance".The primary JS-target of Vert.x is ECMA. That's because we:- have an eventbus interacting with the browser- most things people build using vertx-web will have a browser interact with it- follow the standard, which is *ohgosh* defined by ECMAVert.x is also polyglot, so we have to take such cross-language-problems into account where one datatype will cause issues in another language.Doing the suggested yaddayadda would introduce hard to debug issues on the browser side which, in the year 2017, is the primary target of most applications.If this is a problem to you then you can follow one of the suggested alternatives or add a custom encoding.
2017-07-01 23:57 GMT+02:00 Kamil Becmer <kamil....@gmail.com>:
Are you guys serious? There are a number of services you can't say "hey slice your money to pennies, because my super-duper json implementation are unable to handle that big thing".Firstly: JSON spec doesn't limit numerals in size.Secondly: in Java you have BigDecimal and BigInteger (don't forget about it)Thirdly: What the heck ECMAScript has to do with numbers outside JS-world? Don't limit everyone else because limits of one platform.I could understand if this problem was a matter of TODO, but you ignored this issue in 2015. Now is 2017, i'm going to write some "why vertx gives a duck" posts to warn others about this abnormal ignorancy.
W dniu wtorek, 28 lipca 2015 05:03:34 UTC+2 użytkownik bytor99999 napisał:Since we deal with money in our application, we specifically use BigDecimal as it is the only class that you can best rely on for money applications, and also the only class that the Gaming License Labs will approve. Meaning, unless you use BigDecimal, you ain't able to put it in a gambling machine in Las Vegas.But Buffer doesn't support that type and throws an exception when it tries to wrap/unwrap it.ThanksMark
--
You received this message because you are subscribed to the Google Groups "vert.x" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vertx+un...@googlegroups.com.
Visit this group at https://groups.google.com/group/vertx.
To view this discussion on the web, visit https://groups.google.com/d/msgid/vertx/8d6749da-aabd-4d7b-a79e-8585c6df5283%40googlegroups.com.