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
Satya sai sudhirSatya sai sudhir 

I created an apex class names "trippleInteger"."Arithmetic expressions must use numeric arguments " is the error Kindly help!

@RestResource(urlMapping='/trippleInteger')
  global class MyService {
    @HttpGet
    global static Integer trippleIt() {
        String someNumber = RestContext.request.params.get('yourInteger');
        return someNumber *3;
    }
}