Skip to content

Commit 0b64c50

Browse files
committed
Added Math_RemainderInt32, Math_RemainderInt64 article
1 parent fbd1040 commit 0b64c50

3 files changed

Lines changed: 54 additions & 2 deletions

File tree

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Math_RemainderInt32
2+
3+
`Math_RemainderInt32` returns the remainder of two 32-bit signed integers.
4+
5+
```csharp
6+
Math_RemainderInt32 (
7+
@a INT,
8+
@b INT)
9+
RETURNS INT
10+
```
11+
12+
## Parameters
13+
14+
- **a**: A dividend.
15+
- **b**: A divisor
16+
17+
## Returns
18+
19+
The remainder of the specified numbers.
20+
21+
## Example
22+
23+
```csharp
24+
SELECT SQLNET::Math_RemainderInt32(2147483647, 2000)
25+
```
26+
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# Math_RemainderInt64
2+
3+
`Math_RemainderInt64` returns the remainder of two 64-bit signed integers.
4+
```csharp
5+
Math_RemainderInt64 (
6+
@a INT,
7+
@b INT)
8+
RETURNS INT
9+
```
10+
11+
## Parameters
12+
13+
- **a**: A dividend.
14+
- **b**: A divisor
15+
16+
## Returns
17+
18+
The remainder of the specified numbers.
19+
20+
## Example
21+
22+
```csharp
23+
SELECT SQLNET::Math_RemainderInt64(2147483647, 2000)
24+
```
25+

docs2/pages/documentations/math/math.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ Provides methods for trigonometric, and other common mathematical functions.
77
| [Math_BigMul(a, b)](/math-bigmul) | Produces the full product of two 32-bit numbers. | [Try it]()|
88
| [Math_Cosh(value)](/math-cosh) | Returns the hyperbolic cosine of the specified angle. | [Try it]()|
99
| [Math_CubeRoot(value)](/math-cube-root) | Returns the cube root of a specified number. | [Try it]()|
10-
| [Math_IEEERemainder(value)](/math-cube-root) | Returns the remainder resulting from the division of a specified number by another specified number. | [Try it]()|
10+
| [Math_IEEERemainder(x, y)](/math-cube-root) | Returns the remainder resulting from the division of a specified number by another specified number. | [Try it]()|
1111
| [Math_NthRoot(value, nth)](/math-nth-root) | Returns the nth root of a specified number. | [Try it]()|
12-
12+
| [Math_RemainderInt32(a, b)](/math-remainder-int32) | Returns the remainder of two 32-bit signed integers. | [Try it]()|
13+
| [Math_RemainderInt64(a, b)](/math-remainder-int32) | Returns the remainder of two 64-bit signed integers. | [Try it]()|

0 commit comments

Comments
 (0)