function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

passing currency field in url

i have a button that call vf page along with amount field .

how to capture the Currency field in apex class.

   //stramount = decimal.valueOf(ApexPages.currentPage().getParameters().get('amount'));


can any one suggest me correct solution as soon as possible


You are trying to get the parameter string from the URL? If so, I believe it is already a string and you do not need the decimal.valueOf