Hi Kashyap,

> I still have a question - if my
> program gets its input from two json strings -
> {"V": 10} and {"V" : 10.1},  and I need to sum up all the Vs - how can I do
> it?

I think there is no generic solution. It all depends on what the numbers *mean*.

We cannot simply scale up every number in the Json text. If for example the
first "10" is a count, we do not want to multiply it with the scale.

Can't you make sure on the Json *generating* side that fixpoint numbers are
produced with a dot?

☺/ A!ex

-- 
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe

Reply via email to