ActiveScaffold keeps on rounding my numbers

I need to display and edit high precision decimal numbers - latitude and longitude. ActiveScaffold keeps rounding my values ​​to 6th scale 3 precision, can I change that to 11th scale 8 precision somewhere?

thanks

+2


a source to share


1 answer


I haven't used ActiveScaffold for quite a while, but maybe it could?



config.columns[:latitude].options[:format] = "%6.3f"

      

+1


a source







All Articles