expression - How to remove the decimal part from a float number that contains .000 in RDLC -


I have an RDLC, there is a column weight in it so that a float number is displayed. If there is a decimal part, then I have to show it.

Example

  • If there is no decimal part, then I should not show x.000000

    You suggest doing this ?

    Example

    • The number is 10.000001, so I want to show the exact number, 10.000001

    • number, then 10, 000000, then shows me 10

    • P>

      You have already tried it -

        = format (field!   "########")  

      "# "Currently will display values.

      You can also try

        = format (field!  gt; & gt; value, "d")  < / Pre> 

      also check -


Comments

Popular posts from this blog

Python SQLAlchemy:AttributeError: Neither 'Column' object nor 'Comparator' object has an attribute 'schema' -

java - How not to audit a join table and related entities using Hibernate Envers? -

mongodb - CakePHP paginator ignoring order, but only for certain values -