1
QB64 Discussion / question by a total beginner print number with two number after comma
« on: August 02, 2018, 12:57:47 pm »
question by a total beginner
i'm trying to learn QB64
my question can being stupid
but i would like print nombre with two number after comma
thank for your help
10 PRINT " TOP JS par christophe lamadon"
20 INPUT " BILAN "; a
30 INPUT " COTE GAGNANTE "; b
40 INPUT "COTE PLACE"; c
50 CGP = b + c
60 M = b / CGP
70 N = (b - 1)
80 Z = a * N
90 E = M / Z
100 nombre = E
i'm trying to learn QB64
my question can being stupid
but i would like print nombre with two number after comma
thank for your help
10 PRINT " TOP JS par christophe lamadon"
20 INPUT " BILAN "; a
30 INPUT " COTE GAGNANTE "; b
40 INPUT "COTE PLACE"; c
50 CGP = b + c
60 M = b / CGP
70 N = (b - 1)
80 Z = a * N
90 E = M / Z
100 nombre = E