Logo 
Search:

Asp.net Answers

Ask Question   UnAnswered
Home » Forum » Asp.net       RSS Feeds
  Question Asked By: Vivek Patel   on Aug 03 In Asp.net Category.

  
Question Answered By: Terence Mitchell   on Aug 03

Just for the sake of presenting another idea - you could also use the mod
keyword so that


if (Log(4,2) mod 1 = 0)
'this would execute since it's true

if (Log(5,2) mod 1 = 0)
'this would not since it's false

Share: 

 

This Question has 6 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on Math function to determine if a number is an int Or get search suggestion and latest updates.


Tagged: