Module ini + ajout de convert.ToInteger

This commit is contained in:
Benjamin VAUDOUR 2023-09-23 20:28:40 +02:00
parent 6637db7be4
commit 0a1722dd44
2 changed files with 244 additions and 0 deletions

View file

@ -641,6 +641,10 @@ func ToUint[T UintType](src any, def ...T) T {
return toSingle(src, def...)
}
func ToInteger[T IntegerType](src any, def ...T) T {
return toSingle(src, def...)
}
func ToFloat[T FloatType](src any, def ...T) T {
return toSingle(src, def...)
}