0

Is there a way to display a decimal number without the rest after the dot ?

for example :

12.689  --> 12

4.67664 --> 4

this is my code:

the number is  ${((SUM_VALUE_ORD / SUM_VALUE_NET) - 1) * 100}
Ahmed Ashour
  • 5,179
  • 10
  • 35
  • 56
mia
  • 1
  • 1
  • 4

0 Answers0