change usages of float/double to f32/f64

This commit is contained in:
Kurausukun committed 2021-05-01 01:41:27 -04:00
1 parent 24e02085d7
commit 608c829acd
2 files changed
+18 -18

No files matched your search

+1 -1
View File
@@ -97,7 +97,7 @@ static void FormatMonSizeRecord(u8 *string, u32 size)
{
#ifdef UNITS_IMPERIAL
//Convert size from centimeters to inches
size = (double)(size * 10) / (CM_PER_INCH * 10);
size = (f64)(size * 10) / (CM_PER_INCH * 10);
#endif
string = ConvertIntToDecimalStringN(string, size / 10, STR_CONV_MODE_LEFT_ALIGN, 8);