… is integers, not floats, or because your map command comes BEFORE the value declaration? EDIT actually it looks like your code snippet is showing another float to int conversion… totally unnecessary, just confirm the Map data by sending the EXACT same float values to a display widget.

PS, showing ALL the code makes for an easier chance that we can assist