Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 working with numbers
tempo Offline
Junior Member
**
Posts: 30
Joined: Aug 2012
Post: #9
RE: working with numbers
(02-01-2015 12:18 PM)ZiNgA BuRgA Wrote:  http://php.net/manual/en/function.round.php

Rounding generally rounds to decimal places, so 10.5 is an odd rounding.  It's probably doable, but depends on exactly what precision you're looking for.

thanks for the link but my problem is: i can't find the correct syntax into the template about the variable Z (check my example above)

for example i'm using: round($tplvars['Z'],1) and nothing happens.....
02-01-2015 03:49 PM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
working with numbers - tempo - 01-03-2015, 07:03 AM
RE: working with numbers - ZiNgA BuRgA - 01-03-2015, 06:16 PM
RE: working with numbers - tempo - 01-04-2015, 05:49 AM
RE: working with numbers - ZiNgA BuRgA - 01-05-2015, 09:32 AM
RE: working with numbers - tempo - 01-05-2015, 03:54 PM
RE: working with numbers - ZiNgA BuRgA - 01-09-2015, 10:40 PM
RE: working with numbers - tempo - 01-31-2015, 11:34 PM
RE: working with numbers - ZiNgA BuRgA - 02-01-2015, 12:18 PM
RE: working with numbers - tempo - 02-01-2015 03:49 PM
RE: working with numbers - ZiNgA BuRgA - 02-01-2015, 10:41 PM
RE: working with numbers - tempo - 02-02-2015, 02:00 AM
RE: working with numbers - ZiNgA BuRgA - 02-02-2015, 09:14 AM

 Standard Tools
Forum Jump: