Exporting HTML table floating point display

I have a database where field properties are set to Floating with an output pattern of #.##. It all displays fine in the data sheet and forms however when I try to export as an HTML table the numbers show full floating without the desired output pattern. This worked in Pan 6 but now in Pan X this pops up. How do I resolve this, it’s important.

Try changing the formula to

pattern(Average,"#.##")

Thanks Dave, always a learning experience!