Problem with StrToFloat

edited 1:45AM in FastReport 3.0
Hello
I have a Problem with StrToFloat-function. I use this function in a Memo in a report to convert from String to Float:
[StrToFloat(<frDSDruck."Freitext3">)]

FastReport gives me an error "Memo15 is not a valid float" (in German: Memo 15 ist kein g??ltiger Gleitkommawert).

I know that it is not necassary to convert this single value to display it in a report, but I wont to sum the values with
SUM(StrToFloat(<frDSDruck."Freitext3">))
and because this fails I tried first to make the simple conversion bevor I do the aggragation. I think that SUM should work when the transformation to float works...

Thanks for every hint...

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 1:45AM
    tru adding extra brackets
    SUM((StrToFloat(<frDSDruck."Freitext3">)))

Leave a Comment