How to calculate the reflectance

Level 2A is reflectance, but in Integer. To get it scaled over 0-1, you’ll have to divide by the QUANTIFICATION_VALUE from the metadata, mostly 10000