mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-05-09 23:51:34 +08:00
修复字节数组转float 返回的值却是double类型的bug
This commit is contained in:
parent
ec14f8384a
commit
5bd8a298ba
@ -336,7 +336,7 @@ public class ByteUtil {
|
||||
* @return float值
|
||||
* @since 5.7.18
|
||||
*/
|
||||
public static double bytesToFloat(byte[] bytes) {
|
||||
public static float bytesToFloat(byte[] bytes) {
|
||||
return bytesToFloat(bytes, DEFAULT_ORDER);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user