currency 필드와 메서드필드는 값에 관한 단순한 정보로, 대괄호 없이 점으로 읽어요: $value.name. 메서드는 인수를 받거나 작업을 수행하며, ->로 호출하거나 $value->name(arguments)처럼 값을 파이프로 넘겨서 호출해요: $value |> name(arguments).필드필드타입설명.digitsnumber금액이 가지는 소수점 자리 수입니다. GBP는 2, JPY는 0입니다..namestring영문 통화 이름입니다. British Pound입니다..symbolstring통화 기호입니다. £입니다.KScript.Core에서 제공해요.#currency->format(amount: number) → string이 통화로 표시한 금액입니다. 예: £1,234.50.매개변수받는 값amount 필수number예시.kscriptXML복사<let name="x" type="currency" value="'jpy'" /> <echo>{ $x->format(1234.5) }</echo>.kscriptXML복사$x: currency = 'jpy' echo $x->format(1234.5)any의 메서드->convert(from?: 'json'|yaml|'csv'|'markdown'|'latex', to?: 'json'|yaml|'csv'|html|'markdown'|'latex', header?: bool, as?: type, headers?: list, indented?: bool)->from(type: 'json'|yaml|'csv'|'markdown'|'latex', header?: bool, as?: type)->is_a(type: word)->is_null()->or(fallback)->to(type: 'json'|yaml|'csv'|html|'markdown'|'latex', headers?: list, indented?: bool)->to_string()->type()string의 메서드->contains(text, ignore_case?: bool)->count()->ends_with(text, ignore_case?: bool)->escape()->index_of(text, ignore_case?: bool, last?: bool)->markdown_escape()->matches(pattern: regex)->pad(width: number, char?, start?: bool)->slice(start: number, end?: number)->starts_with(text, ignore_case?: bool)->truncate(length: number, suffix?)->url_encode()