How can I use "double" in "System.Threading.Thread.Sleep(int)".
adobe71
0
Junior Poster in Training
Recommended Answers
Jump to PostNo you can't use a double in Sleep since its signature requires you to put an int datatype.
You can cast your double to int if you really want to use your double variable.
All 4 Replies
powerbox
13
Light Poster
adobe71
0
Junior Poster in Training
adams161
21
Posting Whiz in Training
adobe71
0
Junior Poster in Training
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.