Extend template's basic math functions to accept float, uint and string values