mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-09 08:54:54 -04:00
Fix typos
This commit is contained in:
parent
f608452492
commit
3a7e665dbf
@ -8,7 +8,7 @@ action:
|
|||||||
- functions/cast/ToFloat
|
- functions/cast/ToFloat
|
||||||
- functions/cast/ToString
|
- functions/cast/ToString
|
||||||
returnType: int
|
returnType: int
|
||||||
signatures: [cast/ToInt INPUT]
|
signatures: [cast.ToInt INPUT]
|
||||||
aliases: [/functions/int]
|
aliases: [/functions/int]
|
||||||
---
|
---
|
||||||
|
|
||||||
@ -49,5 +49,5 @@ With a hexadecimal (base 16) input:
|
|||||||
{{% note %}}
|
{{% note %}}
|
||||||
Values with a leading zero are octal (base 8). When casting a string representation of a decimal (base 10) number, remove leading zeros:
|
Values with a leading zero are octal (base 8). When casting a string representation of a decimal (base 10) number, remove leading zeros:
|
||||||
|
|
||||||
`{{ strings/TrimLeft "0" "0011" | int }} → 11`
|
`{{ strings.TrimLeft "0" "0011" | int }} → 11`
|
||||||
{{% /note %}}
|
{{% /note %}}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user