Hi,
I have a list of positive digits in a file. All I want to do is to add the negative sign (-) to each digit. Is there a code for this. eg list of digits
1 correspond -1
2 correspond-2
3 correspond -3 etc
princessotes 0 Newbie Poster
Gribouillis 1,391 Programming Explorer Team Colleague
myle 1 Newbie Poster
JasonHippy 739 Practically a Master Poster
vegaseat 1,735 DaniWeb's Hypocrite Team Colleague
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.