# VBScript Fix Function
* * Complete VBScript Reference Manual](#)
* * *
The Fix function returns the integer part of a specified number.
**Note:** If the `number` argument contains Null, it returns Null.
**Tip:** See also the Int function.
### Syntax
Fix(number)
| Parameter | Description |
| :--- | :--- |
| number | Required. A valid numeric expression. |
## Example
## Example 1
document.write(Fix(6.83227) & "
")
document.write(Fix(6.23443))
Output:
6
6
[Try it Β»](#)
## Example 2
document.write(Fix(-6.13443) & "
")
document.write(Fix(-6.93443))
Output:
-6
-6
[Try it Β»](#)
* * Complete VBScript Reference Manual](#)
AI is thinking...
[](#)(#)
(#)[](#)
[VolcEngine Coding Plan supports mainstream large models such as Doubao, GLM, DeepSeek, Kimi, MiniMax, etc., with official direct supply for stability and reliability. Β₯9.9/month Activate now](https://maas.xfyun.cn/modelSquare?ch=maas_lm_l2E)
Func Fix
π
2026-06-13 | π C#
YouTip