Advertisement
bousaid

Prime Zone 89 - Hidab

Mar 8th, 2023
1,866
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ' Fonction ICR By Boussaid Mustafa
  2. ' APC SALI 2023
  3. Function Zone89(cateegori As String)
  4. Dim point As Variant
  5. Dim saler As Variant
  6. point = 0.315
  7. Select Case cateegori
  8.     Case "01/1": saler = 1500
  9.     Case "01/2": saler = 1520
  10.     Case "01/3": saler = 1540
  11.     Case "02/1": saler = 1560
  12.     Case "02/2": saler = 1580
  13.     Case "02/3": saler = 1600
  14.     Case "03/1": saler = 1620
  15.     Case "03/2": saler = 1640
  16.     Case "03/3": saler = 1660
  17.     Case "04/1": saler = 1680
  18.     Case "04/2": saler = 1700
  19.     Case "04/3": saler = 1745
  20.     Case "05/1": saler = 1790
  21.     Case "05/2": saler = 1850
  22.     Case "05/3": saler = 1910
  23.     Case "06/1": saler = 1970
  24.     Case "06/2": saler = 2040
  25.     Case "06/3": saler = 2100
  26.     Case "07/1": saler = 2170
  27.     Case "07/2": saler = 2240
  28.     Case "07/3": saler = 2300
  29.     Case "08/1": saler = 2380
  30.     Case "08/2": saler = 2460
  31.     Case "08/3": saler = 2530
  32.     Case "09/1": saler = 2610
  33.     Case "09/2": saler = 2700
  34.     Case "09/3": saler = 2780
  35.     Case "10/1": saler = 2850
  36.     Case "10/2": saler = 2920
  37.     Case "10/3": saler = 2990
  38.     Case "10/4": saler = 3060
  39.     Case "11/1": saler = 3070
  40.     Case "11/2": saler = 3130
  41.     Case "11/3": saler = 3190
  42.     Case "11/4": saler = 3250
  43.     Case "12/1": saler = 3320
  44.     Case "12/2": saler = 3380
  45.     Case "12/3": saler = 3450
  46.     Case "12/4": saler = 3530
  47.     Case "13/1": saler = 3540
  48.     Case "13/2": saler = 3640
  49.     Case "13/3": saler = 3730
  50.     Case "13/4": saler = 3830
  51.     Case "14/1": saler = 3920
  52.     Case "14/2": saler = 4000
  53.     Case "14/3": saler = 4080
  54.     Case "14/4": saler = 4160
  55.     Case "14/5": saler = 4240
  56.     Case "15/1": saler = 4340
  57.     Case "15/2": saler = 4430
  58.     Case "15/3": saler = 4520
  59.     Case "15/4": saler = 4620
  60.     Case "15/5": saler = 4720
  61.     Case "16/1": saler = 4820
  62.     Case "16/2": saler = 4920
  63.     Case "16/3": saler = 5020
  64.     Case "16/4": saler = 5120
  65.     Case "16/5": saler = 5220
  66.     Case "17/1": saler = 5340
  67.     Case "17/2": saler = 5450
  68.     Case "17/3": saler = 5560
  69.     Case "17/4": saler = 5690
  70.     Case "17/5": saler = 5810
  71.     Case "18/1": saler = 5930
  72.     Case "18/2": saler = 6060
  73.     Case "18/3": saler = 6190
  74.     Case "18/4": saler = 6320
  75.     Case "18/5": saler = 6450
  76.     Case "19/1": saler = 6580
  77.     Case "19/2": saler = 6720
  78.     Case "19/3": saler = 6860
  79.     Case "19/4": saler = 7000
  80.     Case "19/5": saler = 7140
  81.     Case "20/1": saler = 7300
  82.     Case "20/2": saler = 7460
  83.     Case "20/3": saler = 7620
  84.     Case "20/4": saler = 7780
  85.     Case "20/5": saler = 7940
  86.     Case Else
  87.                saler = 0
  88. End Select
  89. Zone89 = saler * point
  90. End Function
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement