I made a salt content probe for a project at school and for the percent salt content I need to get at least two significant digits, but I only get whole number percents. if it is not possible to get more than 1 it’s okay but I want as many as possible.

```
// include the library code:
#include <SoftwareSerial.h>
// initialize the library with the numbers of the interface pins
SoftwareSerial mySerial(3,2);
// variables for input pin and control LED and known resistance value
int analogInput = 1;
int analogInput1=0;
float vout = 0.0;
float vout1 = 0.0;
float vin1 = 0.0;
float vin = 0.0;
float R1 = 50000.0; // !! resistance of R1 !!
float R2 = 4400.0; // !! resistance of R2 !!
float R3 = 1186.0;
// variable to store the value of voltage resistance and conductance
int value = 0.00;
int value1 = 0.00;
int final_output = 0.00;
int ohm_value = 0.00;
int mseimval = 0.00;
int tds = 0.00;
void setup(){
// declaration of pin modes
pinMode(analogInput, INPUT);
pinMode(analogInput1, INPUT);
// set up the LCD's number of columns and rows:
mySerial.begin(9600);
delay(500);
}
void loop(){
value = analogRead(1);
value1 = analogRead(0);
vout1 = (value1 * 5.0) / 1024.0;
vout = (value * 5.0) / 1024.0;
vin1 = vout1 / (R2/(R1+R2));
vin = vout / (R2/(R1+R2));
ohm_value = (vin * R3)/(vin1 - vin); //takes the two voltages and converts into an ohm value
mseimval = (ohm_value ^ -1); //takes the ohm value and converts it into conductance
tds = (mseimval * 0.497); //takes to conductance value times to tds constant of NaCl to get PPM
final_output = (tds / 10000.0); //divides the PPM by ten thousand to get a percent
mySerial.write(254);
mySerial.write(128);
mySerial.print(final_output); //displays percentage
mySerial.print("% salinity");
mySerial.write(254);
mySerial.write(128);
delay(500);
mySerial.print(" ");
}
```