You need to sign in to do that
Don't have an account?
Michael Dsoza
get difference of two values in visualforce page
I am making a table with dyanmic value in vfpage & in one cell I want to show difference of two value but I tried the below thing but it shows in error as syntax error .
I tried the folllowing things to get difference....
value = {! ( {!Firstvalue} - {!Secondvalue} )}
but it prints the value as 5000-3000 not the difference of this as 2000.
Please tell me how can I do this...
try this, value="{! (Firstvalue - Secondvalue )}"