Bash Function Return Value To Variable Calculator Simplify The Expression