added support for Float numbers to 'Box' widget