0 Members and 1 Guest are viewing this topic.

Need help to calculate at template file
« on: September 09, 2017, 11:39:44 AM »
Hi,
i need help. i have a number in a template file as {$points}.
{$points} is e.g. =972
now i want to divide it with 10 and get the rest.
if i change it as following {$points/10} the result is 9.72.
its correct, but i want only 9 (the rest of full number) as result.
i need a calculation for the problem i can use in template file.
hope you understand me, my english is  :(
thx

*

Pharg

  • *****
  • 2,838
    • OsDateFourm
  • osDate Version: osDateEvo v1.2
Re: Need help to calculate at template file
« Reply #1 on: September 10, 2017, 12:13:42 AM »
Hi lenzen24,

Sorry I don't know the answer your need to know.
Regards,
Pharg ( Phill )

REMEMBER: ALWAYS BACKUP BEFORE YOU MAKE ANY CHANGES!!

osDateEvo v1.2 | PHP: 5.3.42 & PHP: 5.6.18 | MySQL: 5.5.35