Question: I am trying to cast a string to a decimal and it keeps returning an integer.

The input and expected output is as follows:

```
0            0
14400        144.00
-11800       -118.00
42400        424.00
60200        602.00
217400       2174.00
5000         50.00

```

I am using:

```
Cast(Trim(POLAMNT) as Decimal(10,2)) as POLICYAMNT

```

but it is returning the values without the decimal.

Answer: 
Maybe this was a bug in a previous version. With Spring Boot 2.0.5 (Spring 5.0.9, Spring Data 2.0.10) and the reactive mongo driver 3.8.2 it works fine for me - null is never returned.

Please note that I explicitly use the newer mongo-driver-async 3.8.2 instead of the current default version since in the latter another bug is contained that is fixed in the newer version.
If the repository can't find the entry, it will return a Mono