Question

Decimal

  • 14 October 2021
  • 1 reply
  • 28 views

Hi, is there a Looker formatting option that excludes decimals numbers and does not round the result?

For example: if the number is 3.6, using value_format: "0", it will automatically round to 4, but I want to see 3.


This topic has been closed for comments

1 reply

You could to use a table calculation and truncate the numeric value:

 

floor(${metric})

 

Best regards