Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 working with numbers
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #4
RE: working with numbers
If you use Template Conditionals:

Code:
<?=(float)$threadfields['end_price'] - (float)$threadfields['start_price']?>


Note that I'm assuming that the prices are really numbers.


My Blog
01-05-2015 09:32 AM
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: