Decimal Numeric Constant

2 posts, 1 answers
  1. Jason
    Jason avatar
    1 posts
    Member since:
    Mar 2012

    Posted 19 Mar 2012 Link to this post

    When using the If function we were unable to have a results of differing types.  For example
    IF(Expression, FieldOfTypeDecimal, 0) will not work

    The ExpressionEditor does not understand numeric constants
    IF(Expression, FieldOfTypeDecimal, 0M) will not work.

    Is there a way to work around this?

  2. Answer
    Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 21 Mar 2012 Link to this post

    Hello,

    As a Decimal constant you could use '0.0'. In case of Double constant, you could use the exponential value: 0.0E+2. 
     

    Regards,
    Didie
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top