Minus one from another

studio

#1

Hello all.

Am trying to get one value to minus from another to assign the difference as a variable.

Both original numbers may have a decimal point as it is a monetary value for each.

Thanks muchly


#2

@MikeBlades. check attached file hope it will be use full and let me know

Subtract Decimal.zip (2.0 KB)


#4

@indra Hello, thanks for your equation. I tried that, but it did not work. My two variables are STRING, where i notice yours are DOUBLE…is that the part i’m missing? if so, how do i convert them to double, just for this part of the process? (they are needed elsewhere)

Thanks muchly


#5

@ddpadil


#6

Hi @MikeBlades ,

Double.TryParse Method (String, Double)
Here we go.
stringToDouble.xaml (8.8 KB)