Skip to Content

Formula to show a number

Hi everyone!

Trying to create a formula to show a 'number' as opposed to text. I need them to be numbers because I need to create a few of these and Sum them in another formula.

Here's what I have so far, these work but they obviously are showing the amounts as text as opposed to numbers.

{@Charge.Formula}

If {Billing_Data22.CPT1} in ['74178'] Then

"$475.00"

else if {Billing_Data22.CPT1} in ['72148','73721'] Then

"$520.00"

else if {Billing_Data22.CPT1} in ['70553','72156'] Then

"$650.00"

Thanks!

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    Posted on May 12, 2015 at 03:15 PM

    Hi Rich,

    Change the code to:

    If {Billing_Data22.CPT1} in ['74178'] Then

    475

    else if {Billing_Data22.CPT1} in ['72148','73721'] Then

    520

    else if {Billing_Data22.CPT1} in ['70553','72156'] Then

    650

    You can always enable the 'dollar' sign from the toolbar on the top.

    -Abhilash

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.