IntegerWidth.TruncateAt(Int32) 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
소수 구분 기호 앞에 있는 특정 숫자 수를 초과하는 숫자를 자립니다.
[Android.Runtime.Register("truncateAt", "(I)Landroid/icu/number/IntegerWidth;", "GetTruncateAt_IHandler", ApiSince=30)]
public virtual Android.Icu.Number.IntegerWidth? TruncateAt(int maxInt);
[<Android.Runtime.Register("truncateAt", "(I)Landroid/icu/number/IntegerWidth;", "GetTruncateAt_IHandler", ApiSince=30)>]
abstract member TruncateAt : int -> Android.Icu.Number.IntegerWidth
override this.TruncateAt : int -> Android.Icu.Number.IntegerWidth
매개 변수
- maxInt
- Int32
소수 구분 기호 앞의 최대 위치 수입니다. maxInt == -1 잘림이 없음을 의미합니다.
반품
NumberFormatter integerWidth() setter에 전달하기 위한 IntegerWidth입니다.
- 특성
설명
소수 구분 기호 앞에 있는 특정 숫자 수를 초과하는 숫자를 자립니다.
예를 들어 maxInt=3을 사용하면 숫자 1234가 "234"로 인쇄됩니다.
에 대한 android.icu.number.IntegerWidth.truncateAt(int)Java 설명서
이 페이지의 일부는 만들고 공유한 작업을 기반으로 하며 에 설명된 조건에 따라 사용됩니다.