MT#17247 float field precision given, but no size

+precision adjusted from 18 to 14, since 15 is the
max number of digits of double (53 bits)

Change-Id: Ia47448354ce943d57294be7098ec6c7e4af1935e
changes/59/4059/2
Rene Krenn 10 years ago
parent 9b95f357d8
commit ce8c0ddf51

@ -57,7 +57,8 @@ has_field 'billing_zone' => (
has_field 'onpeak_init_rate' => (
type => 'Float',
precision => 18,
size => 15,
precision => 14,
element_attr => {
rel => ['tooltip'],
title => ['The cost of the first interval in cents per second (e.g. 0.90).']
@ -78,7 +79,8 @@ has_field 'onpeak_init_interval' => (
has_field 'onpeak_follow_rate' => (
type => 'Float',
precision => 18,
size => 15,
precision => 14,
element_attr => {
rel => ['tooltip'],
title => ['The cost of each following interval in cents per second (e.g. 0.90).']
@ -99,7 +101,8 @@ has_field 'onpeak_follow_interval' => (
has_field 'offpeak_init_rate' => (
type => 'Float',
precision => 18,
size => 15,
precision => 14,
element_attr => {
rel => ['tooltip'],
title => ['The cost of the first interval in cents per second (e.g. 0.90).']
@ -120,7 +123,8 @@ has_field 'offpeak_init_interval' => (
has_field 'offpeak_follow_rate' => (
type => 'Float',
precision => 18,
size => 15,
precision => 14,
element_attr => {
rel => ['tooltip'],
title => ['The cost of each following interval in cents per second (e.g. 0.90).']

Loading…
Cancel
Save