HI,
Here is the improved code.. In fact here i was trying to check string by mistake.. "second" is a string
i = random.uniform(-9.99999999999,9.99999999999)
j = random.randint(-499,499)
k = random.uniform(-9.99999999999,9.99999999999)
l = random.randint(-499,499)
first = str(i) +
second = str(k) +
f.writelines(["[TEST COMPLEX_Real%0.0f] conj(" % (n) + first +
second = atof(second)
second = second * (-1)
f.writelines(["[EXPECTED]" + first + "," + second + "\n [BINARY] 0\n[PRIORITY]\n" ])
i want to convert variable second to floating point number.
please help me to sort out this Issue.
Thanks in advance.