Openfl 3.1.4 Compile issue on html5 target

my code as follow

new TextFormat("Arial", _fontsize * 1.2, 0xFFFFFF);

when compile to html5 target, get follow message

Function ‘new’ requires arguments : ?font, ?size, ?color, ?bold, ?italic, ?underline, ?url, ?target, ?align, ?leftMargin, ?rightMargin, ?indent, Float should be Null
Float should be Int
For optional function argument 'size’
Invalid arguments

It’s as the error message says, for the size you shouldn’t pass a float but an int.
http://docs.openfl.org/openfl/text/TextFormat.html#new

You can use Std.int(value) to convert a float to an int.