Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

 Applying some custom numeric format strings to specific data types and values. In this example we will change the Text Format of Temperatur: 

{0:p} or {0:P}  
represents percentage e.g. 1,500.00%
{0:00.0}°C  
will Round the number to 1 number after comma  e.g. 22.2 °C


  • DateTime Format Strings:  

...

{0:d}represents Short Date Pattern e.g. 12/10/2020

{0:d} represents Short Date Pattern e.g. 12/10/2020

{0:dddd} represents full name of the day of the week e.g. Wednesday

{0:yyyy} represents Represents the year as a four-digit number. e.g. 2018



Info
titleMore formats

...