Questions tagged as 'range'

1
answer

Check data before using as array element

In chat was asked something about data entry validation to avoid catch error out of range allowed. I found the question interesting and pity that was not posted here, I am posting: public static T[] ReplaceRange<T>(this T[]input, T[] r...
asked by 13.07.2018 / 17:29
2
answers

Counter in python

Well I'm doing a screenshot program but I want it to replace in the file name when saving, the characters "XX", by the print number. Ex: ScreenShotXX.jpg in "XX" I want to put the print number ex: 01, 02 Code used: import pyscreenshot as Image...
asked by 11.02.2017 / 15:16
0
answers

Range of an Array in SWIFT

I have an array of bytes and I need to find out what range (startindex and endindex) a byte is or if it only has startindex ex: var Faixa1:Array<UInt16> = [2,4,6,8,10,11,12] var Faixa2:Array<UInt16> = [1,2] var Valor1:UInt16 =...
asked by 23.10.2018 / 21:19
1
answer

Recording date range, with usable days in Dictionary

I need to build two methods on my system, which do the following: 1) Write a% c and% in C #, a range of dates. For this I have a function that I use in the SQLServer here of the company, which returns me an integer of working days. The ar...
asked by 31.07.2018 / 01:36
1
answer

Python transform a number into integer

import math x=9 raiz=math.sqrt(x) print raiz for i in range (raiz,9): #Problema aqui i=i**2 print i I need to create a for with the root of an operation (always integer 2, 3,4,5 ...) but when I try to use it the way I did the error. It says...
asked by 02.04.2018 / 04:14
1
answer

Range set by SQL user

In sql, is there any way to define the range of a query according to the user's past? Example Number of days the user enters is 7, and set as the registration date 07/01/2018, the bank return the registration made on 01/01/2018 to 01/13/...
asked by 10.02.2018 / 01:24
0
answers

I need to select ranges concatenating addresses in VBA

I have a sub in VBA that does several calculations to get into an address list of ranges     listAddresses="$ A $ 1, $ H $ 3, $ V $ 1, $ M $ 16, $ A $ 21, $ B $ 13, $ H $ 88 ..... $ T $ 44" With this list I need to select all ranges. So I trie...
asked by 06.03.2017 / 12:55
1
answer

Input [type = range] with easy CSS using a little JavaScript (Q & A)

One of my biggest problems with CSS has always been this INPUT [type = range], several browsers have their own styles for this tag, this becomes a bit tiresome to do with having to make adjustments to each browser, not to mention increases your...
asked by 09.05.2018 / 20:15