Files
ofbiz-framework/framework/common/config/number.properties
T
Jacques Le Roux 18e29ba1f2 Improved: no functional change
Adds missing ASL2 header

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1865925 13f79535-47bb-0310-9956-ffa450edef68
2019-08-26 09:59:58 +00:00

50 lines
2.0 KiB
Properties

###############################################################################
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you 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.
###############################################################################
# Define format number use on OFBiz to display it
# You can surchage by entity SystemProperty
# for the templating format, please see javadoc
# Default displaying template
default.displaying.format = ##0.00
# Displaying number on accounting context
accounting.displaying.format = #,##0.0000;(#,##0.0000)
# Displaying a quantity on general case. for specific you need to define you own purpose
quantity.displaying.format = ##0.0000000
#Displaying an amount on general case. This is different than the displaying currency number.
amount.displaying.format = #0.000
#Displaying a number in percentage
percentage.displaying.format = ##.##%
# Specific properties for currency
# --------------------------------
# -- the default rounding for currency (used in OfbizCurrencyTransform.java)
currency.rounding.default=10
# -- the default check scale for integer currency enabled (Y|N) (used in OfbizCurrencyTransform.java)
#When decimals are '00'
# -- Y if you want to display only x , example : 10
# -- N if you want to display x.00 , example : 10.00
currency.scale.enabled=N