Hello. I have a problem that I cannot add two numbers, can someone help me?
The data to sumer comes from WhatsApp.
The client writes that he wants a Cake for 309.00 and wants to add a photo of 100.00
I have the data stored in %Price %Photo
var price = parseFloat("%Price");
var photo = parseFloat("%Photo");
var total = price + photo;
Then I visualize the result in a Flash "hello, price of the cake is %total"
and the result it shows me is: "hello, price of the cake is nan"
I would like someone to guide me and be able to generate the correct result.