hashFromNumber function
Generates hash strong from Number
Implementation
String hashFromNumber(num num, [int? shift]) {
shift ??= _positionShift;
int roundedNumber = round(num * shift);
if (roundedNumber == 0) roundedNumber = 0; /* prevent -0 (signed 0 can effect math.atan2(), etc.) */
return '$roundedNumber';
}