Restrict function output to one or two significant figures

It's OK folks, I found the solution here from a previous post

[How can I limit a simple math function to 2 decimal places]