Ram tools - for floats, use sci notation, rather than spooky rounding

This commit is contained in:
adelikat 2014-05-18 19:40:21 +00:00
parent 74cafb6ace
commit 3127e6d36c
1 changed files with 2 additions and 1 deletions

View File

@ -902,7 +902,8 @@ namespace BizHawk.Client.Common
case DisplayType.Float:
var bytes = BitConverter.GetBytes(val);
var _float = BitConverter.ToSingle(bytes, 0);
return string.Format("{0:0.######}", _float);
//return string.Format("{0:0.######}", _float);
return _float.ToString(); // adelikat: decided that we like sci notation instead of spooky rounding
}
}