Long numbers in ipywidgets intslider (python 2.7) -
i'm trying use intslider (with widgets.interact) long numbers (~10^26)
i4 = widgets.interact(substitution_decrypt_by_index, c=widgets.fixed(ciphertext), perm_i=widgets.intslider(description='permutation: ',min=0,max=factorial(26)-1,step=1,value=0,readout_format='30d',layout=widgets.layout(width='100%')))
(c, perm_i arguments substitution_decrypt_by_index).
the documentation says "format specification mini-language" can used set readout_format of slider (with exception "if space available readout narrow string representation of slider value, different styling applied show not digits visible.").
unfortunately, range, shows numbers in scientific notation.
is there way force decimal notation big numbers?
thanks lot.
Comments
Post a Comment