Current location - Health Preservation Learning Network - Healthy weight loss - What does int mean in high school mathematics?
What does int mean in high school mathematics?
Many standard functions similar to those in mathematics are provided in VB for users to use directly. For example: 1. Square root function Sqr(x) function: returns the square root of x, x≥0, and the expression is Sqr(5). 2. Abs(x) function of absolute value function: returns the absolute value of X. For example, the expression of ∣a∣ is Abs(a), while the expression of |-5| is Sqr(-5). 3. Integer function Int(x): Returns the largest integer not greater than x, for example, the value of Int(2.6) is 2 and the value of Int(-2.6) is -3. 4. Sine function Sin(x) function: returns the sine value of x, where x is the chord. For example, the expression of Sin30 is SIN (30 * 3.14159/180). 5. Cosine function Cos(x) function: Returns the cosine of x, where x is the chord. For example, the expression of Cos30 is COS (30 * 3.14159/180). 6. Exp(x) function of exponential function: Returns the exponent based on natural number e, for example, the expression of e2 is Exp(2). 7. Logarithmic function Log(x) function: Returns the logarithm based on natural number E, and the expression of log 10 3 is Log(3)/Log( 10). 8. Truncation function Fix(x): returns the integer part of a number, for example, the value of Fix(2.6) is 2 and the value of Fix(-2.6) is -2. 9. Take the function of the left substring function Left(x, n): intercept the n characters of the string x from the first character on the left, and the value of Left("abcde ",3) is" abc ". 10. Take the right substring function Right(x, n) function: intercept the last n characters of the string x from the right, and the value of Right("abcde ",3) is" cde ". 1 1. Take the substring function Mid(x, m, n) function: intercept the n characters on the right side of the string x, and the value of Mid("abcde ",2,3) is" bcd ". 12. string length function Len(x) function: take the length of the string x, and the value of len ("abcde") is 5. The function name function Abs(x) returns the absolute value Asc(x) of numbers with the same data type, returns the ASCII code value Atn(x) of the first character of the specified string, returns the arc tangent value Chr(x) of the specified number, returns the character Cos(x) corresponding to the specified ASCII code, and returns the cosine value Exp(x) of the angle in the form of double-precision floating-point numbers. Return exponent Fix(x) as double precision floating point number, integer part Int(x) as double precision floating point number, integer part Log(x) as single precision floating point number, and natural logarithm Rnd () as single precision floating point number. Returns the sine value Sqr(x) of an angle as a double-precision floating-point number, the square root Tan(x) of a number (not less than 0) as a double-precision floating-point number, the tangent value Left(x, m) of an angle, the leftmost m-stem character Len(x) in the specified string X, the number of characters in the specified string or the number of bytes Mid(x, m, N) Returns the n characters starting from m in the specified string X, Right(x, m), m character spaces on the rightmost side (x), a string with x spaces, Second (), seconds (between 0 and 59), Str(x), converts a number into a corresponding number string, returns a string (x), returns a string Date (), returns the current system date (), and returns a number. Used to indicate one minute in an hour. Mouth () returns an integer between 1 and 12 to represent a month of the year. Now () returns the date and time of the current system. Hour () returns an integer between 0 and 23. Used to represent an hour in a day. Time () returns the current system time. Timer () returns the number of seconds since midnight. Weekday () returns an integer to represent a day of the week. Year () returns an integer representing the year. I don't know if these are useful to you.