From 130f93ab3c3582c84ec098f3c35e18648191e92c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ot=C3=A1vio=20Pace?= Date: Wed, 19 Jan 2022 11:59:28 -0300 Subject: [PATCH] Fix developer Math docs (dividedBy -> div) --- pages/ar/developer/assemblyscript-api.mdx | 4 ++-- pages/en/developer/assemblyscript-api.mdx | 4 ++-- pages/es/developer/assemblyscript-api.mdx | 4 ++-- pages/ja/developer/assemblyscript-api.mdx | 4 ++-- pages/ko/developer/assemblyscript-api.mdx | 4 ++-- pages/zh/developer/assemblyscript-api.mdx | 4 ++-- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/pages/ar/developer/assemblyscript-api.mdx b/pages/ar/developer/assemblyscript-api.mdx index 1b8260e33971..2b6aa855c4a3 100644 --- a/pages/ar/developer/assemblyscript-api.mdx +++ b/pages/ar/developer/assemblyscript-api.mdx @@ -104,7 +104,7 @@ _Math_ - `plus(y: BigDecimal): BigDecimal` – can be written as `x + y`. - `minus(y: BigDecimal): BigDecimal` – can be written as `x - y`. - `times(y: BigDecimal): BigDecimal` – can be written as `x * y`. -- `dividedBy(y: BigDecimal): BigDecimal` – can be written as `x / y`. +- `div(y: BigDecimal): BigDecimal` – can be written as `x / y`. - `equals(y: BigDecimal): bool` – can be written as `x == y`. - `notEqual(y: BigDecimal): bool` – can be written as `x != y`. - `lt(y: BigDecimal): bool` – can be written as `x < y`. @@ -142,7 +142,7 @@ _Math_ - `x.plus(y: BigInt): BigInt` – can be written as `x + y`. - `x.minus(y: BigInt): BigInt` – can be written as `x - y`. - `x.times(y: BigInt): BigInt` – can be written as `x * y`. -- `x.dividedBy(y: BigInt): BigInt` – can be written as `x / y`. +- `x.div(y: BigInt): BigInt` – can be written as `x / y`. - `x.mod(y: BigInt): BigInt` – can be written as `x % y`. - `x.equals(y: BigInt): bool` – can be written as `x == y`. - `x.notEqual(y: BigInt): bool` – can be written as `x != y`. diff --git a/pages/en/developer/assemblyscript-api.mdx b/pages/en/developer/assemblyscript-api.mdx index 1b8260e33971..2b6aa855c4a3 100644 --- a/pages/en/developer/assemblyscript-api.mdx +++ b/pages/en/developer/assemblyscript-api.mdx @@ -104,7 +104,7 @@ _Math_ - `plus(y: BigDecimal): BigDecimal` – can be written as `x + y`. - `minus(y: BigDecimal): BigDecimal` – can be written as `x - y`. - `times(y: BigDecimal): BigDecimal` – can be written as `x * y`. -- `dividedBy(y: BigDecimal): BigDecimal` – can be written as `x / y`. +- `div(y: BigDecimal): BigDecimal` – can be written as `x / y`. - `equals(y: BigDecimal): bool` – can be written as `x == y`. - `notEqual(y: BigDecimal): bool` – can be written as `x != y`. - `lt(y: BigDecimal): bool` – can be written as `x < y`. @@ -142,7 +142,7 @@ _Math_ - `x.plus(y: BigInt): BigInt` – can be written as `x + y`. - `x.minus(y: BigInt): BigInt` – can be written as `x - y`. - `x.times(y: BigInt): BigInt` – can be written as `x * y`. -- `x.dividedBy(y: BigInt): BigInt` – can be written as `x / y`. +- `x.div(y: BigInt): BigInt` – can be written as `x / y`. - `x.mod(y: BigInt): BigInt` – can be written as `x % y`. - `x.equals(y: BigInt): bool` – can be written as `x == y`. - `x.notEqual(y: BigInt): bool` – can be written as `x != y`. diff --git a/pages/es/developer/assemblyscript-api.mdx b/pages/es/developer/assemblyscript-api.mdx index 1b8260e33971..2b6aa855c4a3 100644 --- a/pages/es/developer/assemblyscript-api.mdx +++ b/pages/es/developer/assemblyscript-api.mdx @@ -104,7 +104,7 @@ _Math_ - `plus(y: BigDecimal): BigDecimal` – can be written as `x + y`. - `minus(y: BigDecimal): BigDecimal` – can be written as `x - y`. - `times(y: BigDecimal): BigDecimal` – can be written as `x * y`. -- `dividedBy(y: BigDecimal): BigDecimal` – can be written as `x / y`. +- `div(y: BigDecimal): BigDecimal` – can be written as `x / y`. - `equals(y: BigDecimal): bool` – can be written as `x == y`. - `notEqual(y: BigDecimal): bool` – can be written as `x != y`. - `lt(y: BigDecimal): bool` – can be written as `x < y`. @@ -142,7 +142,7 @@ _Math_ - `x.plus(y: BigInt): BigInt` – can be written as `x + y`. - `x.minus(y: BigInt): BigInt` – can be written as `x - y`. - `x.times(y: BigInt): BigInt` – can be written as `x * y`. -- `x.dividedBy(y: BigInt): BigInt` – can be written as `x / y`. +- `x.div(y: BigInt): BigInt` – can be written as `x / y`. - `x.mod(y: BigInt): BigInt` – can be written as `x % y`. - `x.equals(y: BigInt): bool` – can be written as `x == y`. - `x.notEqual(y: BigInt): bool` – can be written as `x != y`. diff --git a/pages/ja/developer/assemblyscript-api.mdx b/pages/ja/developer/assemblyscript-api.mdx index 1b8260e33971..2b6aa855c4a3 100644 --- a/pages/ja/developer/assemblyscript-api.mdx +++ b/pages/ja/developer/assemblyscript-api.mdx @@ -104,7 +104,7 @@ _Math_ - `plus(y: BigDecimal): BigDecimal` – can be written as `x + y`. - `minus(y: BigDecimal): BigDecimal` – can be written as `x - y`. - `times(y: BigDecimal): BigDecimal` – can be written as `x * y`. -- `dividedBy(y: BigDecimal): BigDecimal` – can be written as `x / y`. +- `div(y: BigDecimal): BigDecimal` – can be written as `x / y`. - `equals(y: BigDecimal): bool` – can be written as `x == y`. - `notEqual(y: BigDecimal): bool` – can be written as `x != y`. - `lt(y: BigDecimal): bool` – can be written as `x < y`. @@ -142,7 +142,7 @@ _Math_ - `x.plus(y: BigInt): BigInt` – can be written as `x + y`. - `x.minus(y: BigInt): BigInt` – can be written as `x - y`. - `x.times(y: BigInt): BigInt` – can be written as `x * y`. -- `x.dividedBy(y: BigInt): BigInt` – can be written as `x / y`. +- `x.div(y: BigInt): BigInt` – can be written as `x / y`. - `x.mod(y: BigInt): BigInt` – can be written as `x % y`. - `x.equals(y: BigInt): bool` – can be written as `x == y`. - `x.notEqual(y: BigInt): bool` – can be written as `x != y`. diff --git a/pages/ko/developer/assemblyscript-api.mdx b/pages/ko/developer/assemblyscript-api.mdx index 1b8260e33971..2b6aa855c4a3 100644 --- a/pages/ko/developer/assemblyscript-api.mdx +++ b/pages/ko/developer/assemblyscript-api.mdx @@ -104,7 +104,7 @@ _Math_ - `plus(y: BigDecimal): BigDecimal` – can be written as `x + y`. - `minus(y: BigDecimal): BigDecimal` – can be written as `x - y`. - `times(y: BigDecimal): BigDecimal` – can be written as `x * y`. -- `dividedBy(y: BigDecimal): BigDecimal` – can be written as `x / y`. +- `div(y: BigDecimal): BigDecimal` – can be written as `x / y`. - `equals(y: BigDecimal): bool` – can be written as `x == y`. - `notEqual(y: BigDecimal): bool` – can be written as `x != y`. - `lt(y: BigDecimal): bool` – can be written as `x < y`. @@ -142,7 +142,7 @@ _Math_ - `x.plus(y: BigInt): BigInt` – can be written as `x + y`. - `x.minus(y: BigInt): BigInt` – can be written as `x - y`. - `x.times(y: BigInt): BigInt` – can be written as `x * y`. -- `x.dividedBy(y: BigInt): BigInt` – can be written as `x / y`. +- `x.div(y: BigInt): BigInt` – can be written as `x / y`. - `x.mod(y: BigInt): BigInt` – can be written as `x % y`. - `x.equals(y: BigInt): bool` – can be written as `x == y`. - `x.notEqual(y: BigInt): bool` – can be written as `x != y`. diff --git a/pages/zh/developer/assemblyscript-api.mdx b/pages/zh/developer/assemblyscript-api.mdx index 1b8260e33971..2b6aa855c4a3 100644 --- a/pages/zh/developer/assemblyscript-api.mdx +++ b/pages/zh/developer/assemblyscript-api.mdx @@ -104,7 +104,7 @@ _Math_ - `plus(y: BigDecimal): BigDecimal` – can be written as `x + y`. - `minus(y: BigDecimal): BigDecimal` – can be written as `x - y`. - `times(y: BigDecimal): BigDecimal` – can be written as `x * y`. -- `dividedBy(y: BigDecimal): BigDecimal` – can be written as `x / y`. +- `div(y: BigDecimal): BigDecimal` – can be written as `x / y`. - `equals(y: BigDecimal): bool` – can be written as `x == y`. - `notEqual(y: BigDecimal): bool` – can be written as `x != y`. - `lt(y: BigDecimal): bool` – can be written as `x < y`. @@ -142,7 +142,7 @@ _Math_ - `x.plus(y: BigInt): BigInt` – can be written as `x + y`. - `x.minus(y: BigInt): BigInt` – can be written as `x - y`. - `x.times(y: BigInt): BigInt` – can be written as `x * y`. -- `x.dividedBy(y: BigInt): BigInt` – can be written as `x / y`. +- `x.div(y: BigInt): BigInt` – can be written as `x / y`. - `x.mod(y: BigInt): BigInt` – can be written as `x % y`. - `x.equals(y: BigInt): bool` – can be written as `x == y`. - `x.notEqual(y: BigInt): bool` – can be written as `x != y`.