Thanks I tried that. The compile worked fine, however testing in OOo3.1
crashes if I use the formula wizard. Here's the code:
IDL: string Num2Eng([in] double nValue, [in] sequence< any > sFormat);
Java:
public String Num2Eng(double nValue, Object[] sFormat) {
String sResult = new String();
sResult = String.valueOf(nValue);
if (sFormat.length > 0) {
sResult.concat(", ");
sResult.concat(String.valueOf(sFormat.length));
sResult.concat(", ");
sResult.concat(sFormat.toString());
}
return sResult;
}
--
Regards Irné Barnard