Webmastersite.net
Register Log In

rounded importance

Comments on rounded importance

sertan6
Experienced

Usergroup: Customer
Joined: Feb 22, 2004

Total Topics: 47
Total Comments: 88
sertan6
Posted Nov 24, 2007 - 3:12 PM:

Not sure if this is a bug but link-importance field is stored rounded with no decimal digits, is it supposed to work like this?
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Nov 26, 2007 - 9:51 AM:

It's supposed to round at 10 decimal places by default. Is the field double for you, or is it somehow int? http://www.webmastersite.net/screenshots/1234.jpg
sertan6
Experienced

Usergroup: Customer
Joined: Feb 22, 2004

Total Topics: 47
Total Comments: 88
sertan6
Posted Nov 26, 2007 - 11:13 AM:

The importance field is double, but this is what happens:

I set as importance formula: $importance = 0.25
Now i regenerate links and indeed {LINKIMPORTANCE} shows 0.25 for all links but the importance field in database is 0

For $importance = 1.25 both {LINKIMPORTANCE} and database field is set to 1
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Dec 01, 2007 - 10:20 PM:

Fixed.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



Sorry, you don't have permission to post posts. Log in, or register if you haven't yet.