round To Granularity
The array x is mutated to hold values that have appropriate granularity based on the input definitions.
Return
the returned array is the same array as the input array but mutated. It is returned for convenience.
Parameters
x
the values of the inputs as an array. Assumes that the values are ordered in the same order as the names are defined for the problem
The map values are mutated to hold values that have appropriate granularity and range based on the input definitions.
Return
the returned map is the same map as the input map but mutated. It is returned for convenience.
Parameters
map
the values of the inputs as map (name, value) pairs. The names in the map must be defined input names.