mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
修复字节数组转float 返回的值却是double类型的bug
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user