Quantcast
Channel: West Wind Message Board Messages
Viewing all articles
Browse latest Browse all 10393

wwjsonserializer

$
0
0
wwjsonserializer
Web Connection
wwjsonserializer
Apr. 22, 2013
11:32 am
3RN0OR6WCShow this entire thread in new window
Gratar Image based on email address
From:Joy Tan
To:All
Hi Rick,

I have a case of this code not returning the correct decimals

lojson = createobject("wwjsonserializer")
lcjson = lojson.serialize("cursor:cr1")

numeric fields of $2.00 are being returned with just 2?

e.g. "p_sellsfor":2, should be "p_sellsfor":2.00

How do I tweak this for correct decimals?

Thanks,
Joy



Viewing all articles
Browse latest Browse all 10393

Trending Articles