There are too methods in gee to cast an image to float : toFloat()
and float()
.
They have the same documentation which is the following :
Casts the input value to a 32-bit float.
Is there any difference between the 2 functions?
This question can be extended to all casting method that usually exist in 2 versions (int()
, toInt()
...etc)