There is nothing wrong with the string representation inside the platform. But I need the resulting JSON object that I am going to plug the number into to not have quotes around it.
So if I did something like this:
var number = toDecimal((randomFloat() * (max – min) + min ), 2)
return {val:number}
I might get back something like
{
“val”: “24.41”
}
If I send it to another service or if I called it via an API externally, I get back a string.`
This reply was modified 4 years, 1 month ago by dsprinzen.
This reply was modified 4 years, 1 month ago by dsprinzen.
This reply was modified 4 years, 1 month ago by dsprinzen.
This reply was modified 4 years, 1 month ago by dsprinzen.
There is nothing wrong with the string representation inside the platform. But I need the resulting JSON object that I am going to plug the number into to not have quotes around it.
So if I did something like this:
var number = toDecimal((randomFloat() * (max – min) + min ), 2)
return {val:number}
I might get back something like
{
“val”: “24.41”
}
If I send it to another service or if I called it via an API externally, I get back a string.`