mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-04-19 03:01:48 +08:00
!867 修复字节数组转float 返回类型却是double的bug
Merge pull request !867 from sony_7/v5-master
This commit is contained in:
commit
a4e7ee5c91
@ -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