View Single Post
Old 09-19-2014, 11:35 AM   #581
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Quote:
Originally Posted by chaley View Post
FWIW: you can use the finish_formatting function instead of the template and test to format it and add the spaces and brackets. Something like
Code:
s_index = finish_formatting(field('series_index'), '.2f', ' [', ']'))
Thanks.

I already know about it, though. I do use it when in general program mode.

EDIT: It came true sooner than I thought. Look at the recycled s_index below.

Last edited by eschwartz; 09-19-2014 at 11:54 AM.
eschwartz is offline   Reply With Quote