Skip to content

Commit c79cf50

Browse files
committed
fix: some error description
1 parent 566ca2c commit c79cf50

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

src/en/webgal-script/variable.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,12 @@ Instead of writing arguments, it generates a floating-point number in the range
3232
setVar:a=random();
3333
```
3434

35-
Of course, we can also specify **Range**. For example, if you want a random number between 5 and 10, you need to perform the following operations:
35+
Of course, we can also specify **Range**. For example, if you want a random number between 5 and 10, You can write:
3636
```ws
3737
SetVar: a = the random (5, 10);
3838
```
3939

40-
But you want it to use ranges to generate values that also have decimals, then specify a third argument:
40+
Of course you want it to use ranges to generate values that also have decimals, then specify a third argument:
4141
```ws
4242
SetVar: a = the random (5, 10, true); # will generate a floating point number between 5 and 10
4343
```

src/ja/webgal-script/variable.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,12 @@ setVar:a=random();
3232
setVar:a=random();
3333
```
3434

35-
もちろん、私たちは**範囲**を指定することもできます。たとえば、5~10の間の乱数が必要な場合は、次のような演算が必要です。
35+
もちろん、私たちは**範囲**を指定することもできます。たとえば、5~10の間の乱数が必要な場合は、書くことができます:
3636
```ws
3737
setVar:a=random(5,10);
3838
```
3939

40-
ただし、範囲を使用して生成される数値にも小数がある場合は、3番目のパラメータを指定します
40+
もちろん、範囲を使用して生成したい数値にも小数があるので、3番目のパラメータを指定することができます
4141
```ws
4242
setVar:a=random(5,10,true); # 5~10の浮動小数点数が生成されます
4343
```

src/webgal-script/variable.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,12 @@ setVar:a=random();
3232
setVar:a=random();
3333
```
3434

35-
当然,我们也可以指定**范围**。比如,你想要5-10之间的随机数,你需要进行如下运算
35+
当然,我们也可以指定**范围**。比如,你想要5-10之间的随机数,你可以写成
3636
```ws
3737
setVar:a=random(5,10);
3838
```
3939

40-
但你想要它使用范围生成的数值也有小数,那么可指定第三个参数:
40+
当然你想要它使用范围生成的数值也有小数,那么可指定第三个参数:
4141
```ws
4242
setVar:a=random(5,10,true); # 将会生成5-10之间的浮点数
4343
```

0 commit comments

Comments
 (0)