Le 04/05/2021 à 16:13, Stéphane Mottelet a écrit :

Hi,

format() is a  class method, not an instance method.

Thanks for the tip. However, distinguishing both types of methods in the java documentation (list of methods) is not trivial to me..


However, the following does not work either:
--> String.format("%6.2f", -3.1415926)

Undefined operation for the given operands.
check or define function %eo_e for overloading.

So, still to be explored..

Samuel

_______________________________________________
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users

Reply via email to