var sidebar_align = 'right';
var content_container_margin = parseInt('290px');
var sidebar_width = parseInt('270px');
Unanswered: Decimals in view
I want a view to always present my numeric fields with 2 decimals. In my table I have the following values in field "amount" (numeric(18,2))
I want the view to show
I have tried Cast but that doesn't seem to do the job.
Note that this is very poor practice to use server side code to format data. Formatting ought to be done by the client.
With that said, you can use the Str() function to format it as a string.