> On 18 Jul 2020, at 23:35, Otared Kavian <ota...@gmail.com> wrote:
> 
> 
> 
>> On 18 Jul 2020, at 22:25, Fabrice Couvreur <fabrice1.couvr...@gmail.com> 
>> wrote:
>> 
>> Hi Wolfgang,
>> 
>> It works but why did you ask this question since I finally use context ?
>> Are you sure you want to use context(...) here?
>> How not to display the .0 ?

Or even better, you can return an integer in your Binom function:

        return math.round((n*Binom(n-1,k-1))/k)

Best regards: Otared
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to