com.abubusoft.kripton.common.BigDecimalUtils Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of kripton-core Show documentation
Show all versions of kripton-core Show documentation
Kripton Persistence Library - core module
package com.abubusoft.kripton.common;
import java.math.BigDecimal;
public class BigDecimalUtils {
public static BigDecimal read(String value) {
if (!StringUtils.hasText(value)) return null;
return new BigDecimal(value);
}
public static String write(BigDecimal value) {
if (value==null) return null;
return value.toPlainString();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy