Alexander Burger writes:
Hi Joe, Hi Alex,
>> I'm experimenting a bit with the 'java' function, and the StringBuilder
>> ...
>> (java "java.lang.Math" 'sqrt 4)
>
> It needs a different call:
>: (java "java.lang.Math" 'sqrt (-6 . 64.0))
thanks for the hints, so
Hi Thorsten,
> I'm experimenting a bit with the 'java' function, and the StringBuilder
> ...
> (java "java.lang.Math" 'sqrt 4)
It needs a different call:
: (scl 6)
-> 6
: (java "java.lang.Math" 'sqrt (-6 . 64.0))
-> 800
: (round @)
-> "8.000"
As you probably know, the
sing
On Thu, Mar 2, 2017 at 3:02 PM, Thorsten Jolitz <tjol...@gmail.com> wrote:
>
> Hi List,
>
> I'm experimenting a bit with the 'java' function, and the StringBuilder
> and GregorianCalendar example from the JavaCode Wiki entry work fine,
> but I wonder how to use a
Hi List,
I'm experimenting a bit with the 'java' function, and the StringBuilder
and GregorianCalendar example from the JavaCode Wiki entry work fine,
but I wonder how to use a constructorless class like e.g. java.lang.Math
with its static class methods?
#+NAME: JavaCode - none of these work