Hello,
I found an issue with the CFile.readAFloat function, in the extension settings the value is 0.5 and if i use readAFloat function to get the value in HTML5 I have 16128, I found an other method on the web:
Code
[COLOR=#C5C8C6][FONT=Consolas][COLOR=#c7444a]this[/COLOR][COLOR=#676867].val[/COLOR] [COLOR=#676867]=[/COLOR] [COLOR=#676867]new[/COLOR] [COLOR=#c7444a]Float32Array[/COLOR]([COLOR=#676867]new[/COLOR] [COLOR=#c7444a]Uint8Array[/COLOR]([[COLOR=#6089b4]file[/COLOR][COLOR=#676867].[/COLOR]readAByte(), [COLOR=#6089b4]file[/COLOR][COLOR=#676867].[/COLOR]readAByte(),[COLOR=#6089b4]file[/COLOR][COLOR=#676867].[/COLOR]readAByte(), [COLOR=#6089b4]file[/COLOR][COLOR=#676867].[/COLOR]readAByte()])[COLOR=#676867].[/COLOR]buffer)[[COLOR=#6089b4]0[/COLOR]];[/FONT][/COLOR]
And it work fine. Is it an issue with the CFile function or I forgot something (maybe unicode) ?
Thanks.