HomanUtil
Author hosle hosle@163.com
Created in 2nd Aug. 2018
About Currency
CurrencyEditorFilter
Edittext 价格过滤器,限定整数部分位数,限定小数部分精度为百分位
CurrencyTextView
支持不同价格样式的TextView,更多参见https://github.com/hosle/HoCurrencyTextView
CurrencyUtil
fun fen2yuan()
:货币数量 单位分统一换算成单位元,支持负数
About Measurement
MeasureUtil
fun parseKiloQuantity()
: 千进制数量单位换算,最多保留两位小数
License
Copyright (C) 2018. Henry Tam (Hosle)
Contact: hosle@163.com
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.