Closed jinjilynn closed 2 years ago
@jinjilynn Hi 👋 Thank you for reporting.
This is known issue becouse 0.0 is equal to 0 and TypeScript read it as double and integer. Generator just prefer integer in this situation. To get double you need just correct to double as in the example below 👇
{
"totalManPrice": 0.1
}
I will try to fix it when I I'll have free time.
@jinjilynn Hi 👋 Thank you for reporting.
This is known issue becouse 0.0 is equal to 0 and TypeScript read it as double and integer. Generator just prefer integer in this situation. To get double you need just correct to double as in the example below 👇
{ "totalManPrice": 0.1 }
I will try to fix it when I I'll have free time.
ok,thank you
for example, i have a json snippet, and when i use command 'From Clipboard to Code Generation Classes', I get the result of
is there some config to default num type as double?