Convert DN L2A value to decimal values

physically, Sentinel-2 products are stored as 16 bit integer, but in SNAP they are converted to 32 bit Float [reflectance, 0-1] based on their metadata.
It is defined by the quantification_value which is 10,000.