Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
min/max
- Page 1
Re: Online subission forms not sending emails of submitted info
Programming
Web Development
16 Hours Ago
by Biiim
… TTL 10 mx00.ionos.com 74.208.5.3 60
min
10 mx01.ionos.com 74.208.5.21 60…
min
and to receive an email the spf(sender policy framework) …
Re: How Build video-player in html And css ?
Programming
3 Weeks Ago
by Kirubel_2
…-top: 10px; /* text-align: center; */ padding:4%; } @media screen and (
max
-width: 750px ) { #side{ width: 80px; } #na li a span{ display…
How Build video-player in html And css ?
Programming
3 Weeks Ago
by Kirubel_2
…;stylesheet" href="../../ionicons-2.0.1/css/ionicons.
min
.css"> </head> <body> <…
Re: Improve HAVING BY performance
Programming
Databases
3 Weeks Ago
by toneewa
… same results can be done. I added another test with
MAX
(Price). With a database over 305K rows, 3 columns, MySQL…
Extract Tabular Data from PDF Images using Hugging Face Table Transformer
Programming
Computer Science
2 Months Ago
by usmanmalik57
…) > max_num_columns: max_num_columns = len(row_text) data[idx] = row_text print("
Max
number of columns:", max_num_columns) # pad rows which don't…
Re: How to disable the automatic swipe effect on the product page?
Programming
Web Development
1 Month Ago
by Read a Book
… uploaded the full code from the file `lightgallery.
min
.js` here is the pastebin link to it https…/v4qKbwVd `https://www.kupisi.mk/vendor/lightgallery/lightgallery.
min
.js` There are three files in the lightgallery folder… `lightgallery.
min
.js` `lightgallery.umd.js` `lightgallery.es5.js`…
Re: Seeking Help for Creating a Circle Generator Tool
Programming
Game Development
2 Months Ago
by jackwells
…; <input type="number" id="radius"
min
="1" value="10"> <button…
Re: DomContentLoaded vs jQuery Ready fn
Programming
Web Development
1 Month Ago
by toneewa
… src="https://code.jquery.com/jquery-3.6.0.
min
.js"></script> <script> function…
Re: Extracting values from capturing groups in regex
Programming
Software Development
2 Months Ago
by Tom_45
…;<td>172</td><td>
Max
</td><td>Susan</td>…
min, max, mean class
Programming
Software Development
10 Years Ago
by dp121307
…def main(): print('This is a program to compute the
min
,
max
, mean and') print('standard deviation for a set of …continue data = Dataset(xStr) data.add(x) print('
Min
:', data.
min
()) print('
Max
:', data.
max
()) print('Mean:', data.average()) print('Standard Deviation:', data.…
Nested Min/Max functions
Programming
Web Development
10 Years Ago
by Nathaniel10
… variables in sequence. I want to nest the
max
() and
min
() functions as follows. $variable5 =
min
(
max
(($variable1 - $variable0), 0), $variable3); The PHP manual… I split up the nesting as follows. $variable2 =
max
(($variable1 - $variable0), 0); $variable5 =
min
(variable2, $variable3); I have not been able to…
Re: Nested Min/Max functions
Programming
Web Development
10 Years Ago
by cereal
To me it seems to work fine: $v0 = 3; $v1 = 5; $v2 = 7; echo
min
(
max
(($v0 - $v1), 0), $v2); `$v0 - $v1 = -2` so
max
() between `-2` and `0` is `0`,
min
() result will be `0`, inverting **$v0** and **$v1** will output `2` as expected. Or am I wrong?
Re: Nested Min/Max functions
Programming
Web Development
10 Years Ago
by Nathaniel10
@cereal, you are correct. It seems that in nesting the functions, I commented out a needed line. That caused the error in the result. With the that line restored, the nested
min
/
max
functions work fine. Sorry for the false alarm. Corollary: Do not code when you are tired.
c++ min max function issues
Programming
Software Development
10 Years Ago
by gobiking
… the idea of it. when I tried calling for my
min
max
functions into my calculations function it is spitting out an… calc { private: int Size; float sum; int x; float
Max
; float
Min
; float mult; float var; float stdev; float sub; float valArr…
Re: min/max of a mixed type list
Programming
Software Development
17 Years Ago
by vegaseat
…def minmax4(lst, typ): """return
min
/
max
of mixed list lst for items of type typ"…= [x for x in lst if isinstance(x, typ)] return
min
(temp),
max
(temp) # minmax4() test ... mixed_list = [11, 'Dick', 12…777, 'Paul', 13456789] print mixed_list print "The
min
and
max
of the integers are:" mn, mx = minmax4(…
Re: Min/Max value and average array help!!
Programming
Software Development
14 Years Ago
by momike205
mmm... k... So if I have this: int i,
max
,
min
,; int num[10]; num[0] = 10; num[1]=3; num[…]=100; num[7]=12; num[8]= -19; num[9]=88;
min
=
max
=num[0]; for (i=1; i<10; i++) { if… (num[i] <
min
)
min
= num[i]; if (num[i] >
max
)
max
= num[i]; Now, since `num[0]=10…
Re: min, max, mean class
Programming
Software Development
10 Years Ago
by dp121307
sorry, I was actually deleting things in the class. But, its perfectly indented on my idle now. class Dataset(object): def __init__(self, grade): self.grade=[] def
min
(self): try: if int(input)<= self.grade: return int(input) except: pass
Re: min/max of a mixed type list
Programming
Software Development
17 Years Ago
by sneekula
Thanks mawe, originally I thought it was by ascii value, but then 11 would have been the
min
value since ascii 1 is lower than ascii 7. So the order in the list was more like: [inlinecode] [7, 9, 11, 12, 700, 777, 13456789, 'Dick', 'Mary', 'Paul', 'Zoe'] [/inlinecode]Is there a way to get a
min
/
max
of each type?
Read/display array and find min, max, sum, and avg. Getting errors.
Programming
Software Development
8 Years Ago
by DS9596
… that reads 20 integers, display that array, and find
min
,
max
, sum, and avg. One method named "read…; i<m_arr; i++) if(a[i]<
min
)
min
=a[i]; cout<<"\nMinimum= "&…lt;<
min
; } void Numbers::m_max(int m_arr) { int
max
=a[0]; for(i=1; …
Re: Read/display array and find min, max, sum, and avg. Getting errors.
Programming
Software Development
8 Years Ago
by David W
… { private: int* ary; int size; static const int capacity; int
min
,
max
, sum; public: Numbers() : ary(new int[capacity]), size(0), sum…
Re: Read/display array and find min, max, sum, and avg. Getting errors.
Programming
Software Development
8 Years Ago
by David W
… const int capacity = 20; int ary[capacity]; int size; int
min
,
max
, sum; void cal_stats(); public: Numbers() : size(0), sum(0) {} void…
C++ Min/Max in array, help pls
Programming
Software Development
12 Years Ago
by neilio86
I need to figure out how to get the
min
/
max
in this array. I heard that it can be done …; int HourlyTemperatures[NumTemperatures] = {0}; double AverageTemp = 0.0; int
min
=0,
max
=0; GetTemperatures (HourlyTemperatures, NumTemperatures); AverageTemp = ComputeAverageTemp (HourlyTemperatures, NumTemperatures); DisplayTemperatures (…
Re: C++ Min/Max in array, help pls
Programming
Software Development
12 Years Ago
by abhimanipal
… not need to use the stl library to calculate the
min
/
max
. Try writing the code on your own .. Let me give… you a head start For
Min
. 1. Create a temp variable and give it a value…
Re: C++ Min/Max in array, help pls
Programming
Software Development
12 Years Ago
by WaltP
[QUOTE=abhimanipal;]You do not need to use the stl library to calculate the
min
/
max
. Try writing the code on your own .. Let me give you a head start For
Min
. 1. Create a temp variable and give it a value of 30,000 [or any such large value].[/quote] Set the temp variable to the first element of the array.
Hiding Min & Max button in JFrame
Programming
Software Development
16 Years Ago
by Kusno
Dear all, Do you know what properties should I set to hide
Min
&
Max
button in JFrame. I use Netbeans editor to create login form. Thanks, Kusno.
group by every 10 minutes and also get 'captureTime' for min/max values
Programming
Databases
12 Years Ago
by emily-bcot
… 10 minutes and also have the corresponding the captureTime for
min
/
max
values. Based on those requirments, How to write the sql…
Re: c++ min max function issues
Programming
Software Development
10 Years Ago
by Ancient Dragon
min
and
max
do not work with floats -- use only integers with those macros. For floats you have to use fmin() and fmax()
min, max and range from text file
Programming
Software Development
11 Years Ago
by xxwikkixx
Hey everyone need some help again with finding the
min
and
max
from a text file. its my college lab assignment. here … count = 0; float sum = 0; float mean = 0; float
min
= 0; float
max
= 0; float range = 0; //<<<<<…
Re: min, max and range from text file
Programming
Software Development
11 Years Ago
by Agni
> need some help again with finding the
min
and
max
from a text file And where is your logic to calculate
min
and
max
? What do you think the algorithm should be on paper ?
Re: min, max and range from text file
Programming
Software Development
11 Years Ago
by Lucaci Andrew
…do it like this: ○ take first number as
min
○ start going through all the numbers from the …file, comparing each number with your
min
. ○ if you find a number smaller than… your current
min
, you set
min
to that number, and keep ○ it… going till you reach the end of your file. For
max
…
1
2
3
17
Next
Last
Search
Search
Forum Categories
Hardware/Software
Programming
Digital Media
Community Center
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Forums
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2024 DaniWeb® LLC