I have this code: (model.VolumeLevel/100f) * maxVolume
VolumeLevel is an int, maxVolume is an int.
As there is a float, the result should be a float.
But in Mono/Xamarin , while debugging this code, if i enter this expression in the Watch window, the returned result is an INT !!!! And the value is rounded to the nearest integer ... This is not the fault of the watch window in fact. The result in the code is also incorrect.
Xamarin.Android Version: 4.8.2
Tested on device: Nexus 7 / Android 4.2.
Release ID: 401100014
Build date: 2013-09-05 16:32:19Z
Xamarin addins: 0a3cbd89efe969c522b81dc7c24d7da1564df585
Windows 6.1.7601.65536 (64-bit)