How to set decimal value as 2 digits in kibana visualizations

Hi,
How to set decimal value as 2 digits in kibana 7.17.3v visualizations
i used these scrip {"script": " value /( 1024 * 1024 * 1024)"} to set the vaue in gb.
I tried Kibana > Stack Management > Advanced Settings > Number Format to set decimals, but it didn't made any changes in visualization .

You can go to Advanced Settings --> Index Patterns --> Edit the field you want to change the format and choose bytes. For example:

No need to add the script on that way.

This is how in 7.17.3v its showing . And even after changing that format pattern no changes is happening in visualization

The thing I suggest to try is not on the advanced settings but on the Index patterns section