Method Community

 

format for decimal value in a textbox

Last post 04-24-2015 11:38 AM by alexhuang. 4 replies.
Page 1 of 1 (5 items)
Sort Posts: Previous Next
  • 04-22-2015 2:42 PM

    format for decimal value in a textbox

    Hi,

    when I display some Money field or decimal field on screen, it sometimes, have two or more zero appended after decimal points (for example, 12.5800, 12.58000000)

    Is there any action or funciton that allow me to control the display format of decimal value? Thanks.

    --

    Alex

    Chief Architect
    Yi Systems, Inc.
    alexhuang@yisystems.com
    www.yisystems.com blogs.yisystems.com
    Software.Web.Cloud.IT
  • 04-22-2015 3:23 PM In reply to

    Re: format for decimal value in a textbox

    Answer

    Hi Alex,

    This can be done by selecting the Edit button on the field and proceeding to step 4. Enter your desired number of decimal places into the Decimal Places field and select Finish.

    I hope this helps.

    -Audisho

    Audisho Sada
    Product Manager
    Method:CRM
    a.sada@method.me
    Toll Free: 1.888.925.6238
    Local & Overseas: 416.847.0400
    Fax: 416.640.6027
  • 04-24-2015 11:02 AM In reply to

    Re: format for decimal value in a textbox

    Hi Audisho,

    Thanks. I can see that in a Money type field. But if I add a textbox object, then I have no this option. Is there way that I can set format for these textbox?

    ---

    Alex

    Chief Architect
    Yi Systems, Inc.
    alexhuang@yisystems.com
    www.yisystems.com blogs.yisystems.com
    Software.Web.Cloud.IT
  • 04-24-2015 11:14 AM In reply to

    Re: format for decimal value in a textbox

    Answer

    Hi Alex,

    No, text boxes don’t allow you to format the contained value in this manner. Alternatively, before adding the value to the text box, you can use a Basic Math Calculation action to round the value and place it into an action result.

    I hope this helps.

    -Audisho

    Audisho Sada
    Product Manager
    Method:CRM
    a.sada@method.me
    Toll Free: 1.888.925.6238
    Local & Overseas: 416.847.0400
    Fax: 416.640.6027
  • 04-24-2015 11:38 AM In reply to

    Re: format for decimal value in a textbox

    Hi, This does solve my problem. Thanks so much!

    -

    Alex

    Chief Architect
    Yi Systems, Inc.
    alexhuang@yisystems.com
    www.yisystems.com blogs.yisystems.com
    Software.Web.Cloud.IT
Page 1 of 1 (5 items)