Chris was having all sorts of issues with floats (System.Single) previously, i’m having the same issues.

See this from the Immediate Window:

?value + (dec / (float)digits)

120890.063

?(dec / (float)digits)

0.06

?dec

60

?digits

1000

?value

120890

How does 120890 + 0.06 = 120890.063?

this is from the breakup of:

float full = value + (dec / (float)digits);

In the watch window, another value:

full = 27946.0215

value = 27946

dec = 224

digits = 10000

Immediate window interrogation:

?(dec / (float)digits)

0.0224

?value

27946

?value + (dec / (float)digits)

27946.0215

For reference, these do work:

value 87242 int

dec 4844 int

digits 10000 int

full 87242.4844 float

(dec / (float)digits) 0.4844 float

```
value 105682 int
dec 961 int
digits 1000 int
full 105682.961 float
(dec / (float)digits) 0.961 float
value 78429 int
dec 5547 int
digits 10000 int
full 78429.5547 float
(dec / (float)digits) 0.5547 float
value 101236 int
dec 367 int
digits 1000 int
full 101236.367 float
(dec / (float)digits) 0.367 float
```

these don’t work:

value 98507 int

dec 7266 int

digits 10000 int

full 98507.73 float

(dec / (float)digits) 0.7266 float

```
value 54583 int
dec 5195 int
digits 10000 int
full 54583.52 float
(dec / (float)digits) 0.5195 float
value 89508 int
dec 4688 int
digits 10000 int
full 89508.47 float
(dec / (float)digits) 0.4688 float
value 87882 int
dec 6094 int
digits 10000 int
full 87882.61 float
(dec / (float)digits) 0.6094 float
```

This is copy/paste from the watch window.