Am Donnerstag, 6. Dezember 2007 schrieb Uwe Stöhr:
> I have the following problem:
> 
> I have a string named "str" with the value "0.8". It should be converted to a 
> double, then 
> multiplied by 100, and finally reconverted to a string.
> 
> I used this code:
> 
> convert<string>(int(100 * convert<double>(str)));
> 
> But this doesn't work, I get this string "0". What is wrong?
> 
> I furthermore used this check:
> 
> if (isStrDbl(str))...
> 
> But although the string is "0.8", isStrDbl returns "false".

You may try "0,8" (zero comma eight).

        Kornel
-- 
Kornel Benko
[EMAIL PROTECTED]

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to