Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

export output data in true json format #3

Open
yannrichet opened this issue Jan 30, 2021 · 1 comment
Open

export output data in true json format #3

yannrichet opened this issue Jan 30, 2021 · 1 comment
Assignees

Comments

@yannrichet
Copy link
Member

Fix x1= [.1,2,3] in "x1":[0.1,2,3]

@yannrichet yannrichet self-assigned this Jan 30, 2021
@yannrichet yannrichet transferred this issue from Funz/funz-client Feb 24, 2021
@yannrichet
Copy link
Member Author

buf.append(cast[i]);

to avoid ".5", and force "0.5", something like:

DecimalFormat formatter = new DecimalFormat("#0.0#");
double d = 0.50;
System.out.println(formatter.format(d));

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants