Convert formula result string to number

5 pts.
Tags:
Crystal Reports 2008
Crystal Reports formulas
My formula produces a string. I want to convert it to a number. Can't use tonumber(@formula).

Software/Hardware used:
Crystal Reports 2008

Answer Wiki

Thanks. We'll let you know when a new response is added.

why not?

Discuss This Question: 3  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • carlosdl
    Have you tried ToNumber({@formula}) ?
    70,220 pointsBadges:
    report
  • carlosdl
    Also, it is recommended to check if the string is actually something that can be converted to a number before trying to do the actual conversion.
    70,220 pointsBadges:
    report
  • TomLiotta
    Can't use tonumber(@formula).   Why not?   If you don't tell us what the problem is, we have no way to guess what might work.   Tom
    125,585 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following