[x3d-public] JSON Serialization to Bindings what can precision can we get?
John Carlson
yottzumm at gmail.com
Mon Dec 5 22:08:32 PST 2022
On Mon, Dec 5, 2022 at 10:27 PM John Carlson <yottzumm at gmail.com> wrote:
> AFAIK, these are the suffixes we can add to double and float numbers.
>
> Please feel free to correct, and I will update code.
>
*Trying update, but it's probably easier to work it out in code, just the
quoting is getting me down. Sorting through options is getting to me.
>
> If we can collect ways to format in various languages, we'll need some
> standard ways of using the formatter in the "exporter."
>
> I've done my show for today. except for looking up formatters for
> JavaScript.
>
I think our best bet is to get other languages to support a trailing f for
floats, and d for double.
I don't know why this wouldn't be possible, and indeed, it may be done in
some cases.
If someone can suggest a language to try beyond Java, let me know.
I think our best bet may be to write a small function or two for each
language.
Hmm!
Thanks,
John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20221206/8ab4e1f3/attachment.html>
More information about the x3d-public
mailing list