Project

General

Profile

Bug #79

Val function only converts integer portion of string.

Added by Anonymous over 4 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Target version:
Start date:
01/25/2020
Due date:
% Done:

0%

Estimated time:
Affected version:

Description

Example: (all return integers)

X$="1234.56"
Y$="-234.56"
Print Val(X$), Val(Y$) ' Should print: 1234.56    -234.56
Vx=Val(X$):Vx#=Val(X$)
Print Vx,Vx# ' Should print 1234   1234.56
Vy=Val(Y$):Vy#=Val(Y$)
Print Vy,Vy# ' Should print -234   -234.56

Files

Annotation 2020-02-03 191342.png (8.38 KB) Annotation 2020-02-03 191342.png Francois Lionet, 02/03/2020 06:14 PM

Also available in: Atom PDF