Displaying 2 results from an estimated 2 matches for "summercool".
Did you mean:
summercooln
2007 Sep 16
8
Rounding up to two decimal places
Hi there
I am going to calculate VAT at one of my websites, and UK VAT is 17.5
%.
So the question is how to round up some value to two decimal points?
I often get values like 6,991..
In php I was using round function
round($price, 2)
is in ruby something similat to PHP''s round function where I could
specify number of decimal places ?
P.
2007 Sep 14
0
deal with Controller and Action logic in RJS?
The question is, should we deal with Controller and Action logic in the RJS
file? If so, is it quite "spaghetti-like"?
This is actually for the Agile Web book Shopping Cart example:
If the user clicks "Remove Item" and we do it the AJAX way,
what if we want to first show the cart''s content as
0 x Pragmatic Version Control $0.00
and then highlight