Hum... are yous sure? I don't get 196. Just tried this
void setup() {
Serial.begin(115200);
float maxVoltage = 1.95;
int maxVoltageInt = maxVoltage * 100;
Serial.print("max Voltage float is: "); Serial.println(maxVoltage, 6); // with 6 digits
Serial.print("max Voltage Int is: "); Serial.println(maxVoltageInt);
}
void loop() {}
Serial Monitor (@ 115200 bauds) shows
[color=purple]
max Voltage float is: 1.950000
max Voltage Int is: 195
[/color]
This might be the case where you are measuring voltage from an analog pin converting to actual volts using floats . If stick with integer arithmetic , say working in millivolts, rather than volts you won’t get an issue.
In your case you’ve 2950 millivolts , if you need to display as volts , just hard code a decimal point in the right place .