OSC audio data to dBFS

I know it is somewhere on the old forum
I guess vimlesh or Julian has answered this

the integer’s coming in from CasparCG server on address
/channel/1/mixer/audio/volume

in 2.2.0

how do I calculate them back to dBFS ?

thanks in front

In vb.net I calculated as below.
20 * (Math.Log10(value / Int32.MaxValue))

Thanks Vimlesh

really appreciated