Rounding numeric values?

Is there a function to round numeric values? I want to include video framerate rounded to two digits - e.g., 29.97 to 30. I could "list replace" the most common values, but that won't account for variable framerates.
Reply to #1:

There does not seem to be a tag or tag modifier for rounding.

But you can do this with a script renaming method.
This code:

let roundedFR = Math.round (parseFloat (item.metadata("Framerate") ) );
return item.newBasename + "-fr-" + roundedFR;

appends the rounded framerate to the end of the filename like so:

foo.mp4 --> foo-fr-30.mp4

if foo.mp4 has a framerate of 29.97