PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV 2024 → string to curency ??
string to curency ??
Débuté par Allard, 03 sep. 2015 21:19 - 1 réponse
Posté le 03 septembre 2015 - 21:19
Hi

I have a xml doc with an amount but the amount is a string in the xml.

I want to add alle the amounts of a certain note

for all bl bla

totaal + = note.amount
end

This doesnot work bcause it is a string. So if I have two times the amount of 10 euro I get 1010
I need to add them.
Is it possible to convert the string to a numeric or currency. So I can add the amounts to a total?

thanks
Allard
Posté le 03 septembre 2015 - 21:24
Hi,

Got it val ( string)

Regards

Allard