close
Blogtrottr
Yahoo!奇摩知識+ - 分類問答 - 電腦網路 - 已解決
Yahoo!奇摩知識+ - 分類問答 - 電腦網路 - 已解決 
Publish Your Book on Kindle

Learn to self-publisher your book on Kindle. Boost your brand and credibility with this step-by-step training course for just $99. Enroll today.
From our sponsors
請教亂數函數的數學式問題
Oct 15th 2013, 09:37

我在VBA的範例看到這樣的一段

 MyValue = Int((6 * Rnd) + 1)    ' 產生 1 到 6 之間的亂數值。

其中,rnd是生產一個0~1之間的浮點數。

我不了解的地方是,為什麼:任一浮點數 * N+1,會得出1~N之間的結果?

請數學高手解答!謝謝。

This entry passed through the Full-Text RSS service — if this is your content and you're reading it on someone else's site, please read the FAQ at fivefilters.org/content-only/faq.php#publishers. Five Filters recommends:

You are receiving this email because you subscribed to this feed at blogtrottr.com.

If you no longer wish to receive these emails, you can unsubscribe from this feed, or manage all your subscriptions
全站熱搜
創作者介紹
創作者 gyynimpiamar5 的頭像
gyynimpiamar5

線上遊戲排行榜2013/2014,進擊的巨人線上看,candy crush saga外掛,正妹寫真三圍

gyynimpiamar5 發表在 痞客邦 留言(0) 人氣()