Please use [code]code here...[/code] tags when posting code.
Yes, but I wouldn't do it with numeric types. The reason is that the compiler can cast the types quite flexibly.
In this case it is better to be explicit:
B4X:
Sub MySubLong (l As Long) As String
...
Sub MySubDouble (d As Double) As String
Please use [code]code here...[/code] tags when posting code.
Yes, but I wouldn't do it with numeric types. The reason is that the compiler can cast the types quite flexibly.
In this case it is better to be explicit:
B4X:
Sub MySubLong (l As Long) As String
...
Sub MySubDouble (d As Double) As String