Caclulating your ebay evalations profile

Share your advanced PureBasic knowledge/code with the community.
va!n
Addict
Addict
Posts: 1104
Joined: Wed Apr 20, 2005 12:48 pm

Caclulating your ebay evalations profile

Post by va!n »

Code updated For 5.20+

I needed this to play a bit with the values to check the postive percent rating of my ebay profile. its nothing special but maybe it may be usefull for someone. so i post it here... have fun ^^

Code: Select all

; -----------------------------------------------------------------------
;
; PB v4.0+   -   Caclulating your ebay evalations profile v0.001 
; 
; Code by va!n aka Thorsten Will    /   14-June-2006
;
; -----------------------------------------------------------------------

PositiveComments = 103     ; Enter here the number of pos. comments
NegativeComments = 2        ; Enter here the number of negative comments

ResultPoints.l  = PositiveComments - NegativeComments
ResultPercent.f = PositiveComments / (PositiveComments + NegativeComments)

MessageRequester("Your ebay Evaluations:" , "Evaluation Profile: " + Str(ResultPoints.l) + Chr(10)+Chr(13) + "Positive Evaluations: " + StrF(ResultPercent.f*100,1) + "%", 0)
End

; -----------------------------------------------------------------------
va!n aka Thorsten

Intel i7-980X Extreme Edition, 12 GB DDR3, Radeon 5870 2GB, Windows7 x64,
User avatar
NoahPhense
Addict
Addict
Posts: 1999
Joined: Thu Oct 16, 2003 8:30 pm
Location: North Florida

Re: Caclulating your ebay evalations profile

Post by NoahPhense »

Kewl.. mine was easy.. no negative comments. ;)
Post Reply