TMG77
05-02-2006, 02:26 PM
Hello. I am looking for a function in Java that performs the same task as the Int() function in VBScript. The Int() function returns the integer part of a specified number.
Examples:
document.write(Int(6.83227))Output:6
document.write(Int(6.23443))Output:6
document.write(Int(-6.13443))Output:-7
document.write(Int(-6.93443))Output:-7
Thanks to anyone with any suggestions.
Examples:
document.write(Int(6.83227))Output:6
document.write(Int(6.23443))Output:6
document.write(Int(-6.13443))Output:-7
document.write(Int(-6.93443))Output:-7
Thanks to anyone with any suggestions.